Browse Source

fix for non-Primary channels

pull/551/head
Hunter275 1 year ago
parent
commit
6cd8ce5102
  1. 5
      src/components/PageComponents/Channel.tsx

5
src/components/PageComponents/Channel.tsx

@ -34,9 +34,10 @@ export const Channel = ({ channel }: SettingsPanelProps) => {
settings: {
...data.settings,
psk: toByteArray(pass),
moduleSettings: {...data.settings.moduleSettings,
moduleSettings: create(Protobuf.Channel.ModuleSettingsSchema, {
...data.settings.moduleSettings,
positionPrecision: data.settings.moduleSettings.positionPrecision,
},
}),
},
});
connection?.setChannel(channel).then(() => {

Loading…
Cancel
Save