Browse Source

Merge branch 'meshtastic:master' into fix/static-ip-display

pull/269/head
Tilen Komel 2 years ago
committed by GitHub
parent
commit
2f36118e9d
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      src/components/PageComponents/Channel.tsx

6
src/components/PageComponents/Channel.tsx

@ -111,10 +111,14 @@ export const Channel = ({ channel }: SettingsPanelProps): JSX.Element => {
type: "select",
name: "role",
label: "Role",
disabled: channel.index === 0,
description:
"Device telemetry is sent over PRIMARY. Only one PRIMARY allowed",
properties: {
enumValue: Protobuf.Channel.Channel_Role,
enumValue:
channel.index === 0
? { PRIMARY: 1 }
: { DISABLED: 0, SECONDARY: 2 },
},
},
{

Loading…
Cancel
Save