Fix "Connect to..." appearing in non-providers
This commit is contained in:
parent
acaaf13ceb
commit
5e46eb2fe5
|
@ -80,7 +80,7 @@ private extension ProfileContextMenu {
|
|||
|
||||
var providerConnectToButton: some View {
|
||||
profile?
|
||||
.firstProviderModule
|
||||
.firstProviderModuleWithMetadata
|
||||
.map { _ in
|
||||
Button(Strings.Ui.ProfileContext.connectTo) {
|
||||
flow?.onEditProviderEntity(profile!)
|
||||
|
|
Loading…
Reference in New Issue