fix for non-Primary channels
This commit is contained in:
@@ -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(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user