Only show 'Reconnect' on active profile (#311)

It doesn't make sense anywhere else.
This commit is contained in:
Davide De Rosa 2023-05-28 11:23:07 +02:00 committed by GitHub
parent 3a59ac7684
commit b89328b5c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -148,7 +148,9 @@ extension OrganizerView {
}
var body: some View {
reconnectButton
if profileManager.isActiveProfile(header.id) {
reconnectButton
}
duplicateButton
deleteButton
}