Browse Source

fix for non-Primary channels

pull/536/head
Hunter275 1 year ago
committed by Dan Ditomaso
parent
commit
1e54f7d99b
  1. 5
      src/components/PageComponents/Channel.tsx

5
src/components/PageComponents/Channel.tsx

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

Loading…
Cancel
Save