We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaf7f75 commit ecda976Copy full SHA for ecda976
1 file changed
TablePro/Views/Sidebar/SidebarView.swift
@@ -117,7 +117,9 @@ struct SidebarView: View {
117
}
118
.onChange(of: tables) { _, newTables in
119
let hasSession = DatabaseManager.shared.activeSessions[connectionId] != nil
120
- if newTables.isEmpty && hasSession && !viewModel.isLoading {
+ if newTables.isEmpty && hasSession && !viewModel.isLoading
121
+ && coordinator?.isSwitchingDatabase != true
122
+ {
123
viewModel.loadTables()
124
125
0 commit comments