From cecdf9758b1591828794e2498e362c44303943d4 Mon Sep 17 00:00:00 2001 From: Hunter Thornsberry Date: Sun, 22 Sep 2024 18:25:35 -0400 Subject: [PATCH] remove router-client --- src/components/PageComponents/Config/Device.tsx | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/components/PageComponents/Config/Device.tsx b/src/components/PageComponents/Config/Device.tsx index ce2b5ce1..e6df723d 100644 --- a/src/components/PageComponents/Config/Device.tsx +++ b/src/components/PageComponents/Config/Device.tsx @@ -32,7 +32,22 @@ export const Device = (): JSX.Element => { label: "Role", description: "What role the device performs on the mesh", properties: { - enumValue: Protobuf.Config.Config_DeviceConfig_Role, + enumValue: { + Client: Protobuf.Config.Config_DeviceConfig_Role.CLIENT, + "Client Mute": + Protobuf.Config.Config_DeviceConfig_Role.CLIENT_MUTE, + Router: Protobuf.Config.Config_DeviceConfig_Role.ROUTER, + Repeater: Protobuf.Config.Config_DeviceConfig_Role.REPEATER, + Tracker: Protobuf.Config.Config_DeviceConfig_Role.TRACKER, + Sensor: Protobuf.Config.Config_DeviceConfig_Role.SENSOR, + TAK: Protobuf.Config.Config_DeviceConfig_Role.TAK, + "Client Hidden": + Protobuf.Config.Config_DeviceConfig_Role.CLIENT_HIDDEN, + "Lost and Found": + Protobuf.Config.Config_DeviceConfig_Role.LOST_AND_FOUND, + "TAK Tracker": + Protobuf.Config.Config_DeviceConfig_Role.SENSOR, + }, formatEnumName: true, }, },