Hide non working pages from the remote admin nav

This commit is contained in:
Garth Vander Houwen 2023-01-23 18:05:45 -08:00
parent 0a4d440f6c
commit 3d21d714d9

View file

@ -113,7 +113,7 @@ struct Settings: View {
.symbolRenderingMode(.hierarchical)
Text("bluetooth")
}
.disabled(selectedNode == 0)
.disabled(selectedNode > 0 && selectedNode != connectedNodeNum)
NavigationLink {
DeviceConfig(node: nodes.first(where: { $0.num == selectedNode }))