Skip to content

Commit

Permalink
Merge branch 'meshtastic:master' into fix/static-ip-display
Browse files Browse the repository at this point in the history
  • Loading branch information
KomelT authored Sep 17, 2024
2 parents d05ea5a + a6d1615 commit 2f36118
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/PageComponents/Channel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
},
},
{
Expand Down

0 comments on commit 2f36118

Please sign in to comment.