Update providers index on add provider appearance
This commit is contained in:
parent
6bff878952
commit
1ea380312a
|
@ -81,6 +81,8 @@ struct AddProviderView: View {
|
|||
if !providers.isEmpty {
|
||||
providersSection
|
||||
}
|
||||
}.onAppear {
|
||||
viewModel.updateIndex(providerManager)
|
||||
}.onChange(of: viewModel.errorMessage) {
|
||||
onErrorMessage($0, scrollProxy)
|
||||
}.disabled(viewModel.pendingOperation != nil)
|
||||
|
|
Loading…
Reference in New Issue