force slelection of at least one option in the lora / mqtt filters

This commit is contained in:
Garth Vander Houwen 2024-03-26 09:21:47 -07:00
parent 08a936f7e1
commit e42b1ae500

View file

@ -242,9 +242,15 @@ struct NodeList: View {
searchNodeList()
}
.onChange(of: viaLora) { _ in
if !viaLora && !viaMqtt {
viaMqtt = true
}
searchNodeList()
}
.onChange(of: viaMqtt) { _ in
if !viaLora && !viaMqtt {
viaLora = true
}
searchNodeList()
}
.onChange(of: deviceRole) { _ in