Only show 'Reconnect' on active profile (#311)
It doesn't make sense anywhere else.
This commit is contained in:
parent
3a59ac7684
commit
b89328b5c3
|
@ -148,7 +148,9 @@ extension OrganizerView {
|
||||||
}
|
}
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
|
if profileManager.isActiveProfile(header.id) {
|
||||||
reconnectButton
|
reconnectButton
|
||||||
|
}
|
||||||
duplicateButton
|
duplicateButton
|
||||||
deleteButton
|
deleteButton
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue