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 {
|
var providerConnectToButton: some View {
|
||||||
profile?
|
profile?
|
||||||
.firstProviderModule
|
.firstProviderModuleWithMetadata
|
||||||
.map { _ in
|
.map { _ in
|
||||||
Button(Strings.Ui.ProfileContext.connectTo) {
|
Button(Strings.Ui.ProfileContext.connectTo) {
|
||||||
flow?.onEditProviderEntity(profile!)
|
flow?.onEditProviderEntity(profile!)
|
||||||
|
|
Loading…
Reference in New Issue