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 f7b5941 commit eaf7f75Copy full SHA for eaf7f75
1 file changed
TablePro/Views/Main/MainContentCommandActions.swift
@@ -711,7 +711,11 @@ final class MainContentCommandActions {
711
if let driver = DatabaseManager.shared.driver(for: self.connection.id) {
712
coordinator?.toolbarState.databaseVersion = driver.serverVersion
713
}
714
- coordinator?.reloadSidebar()
+ // Skip sidebar reload during database switch — switchDatabase() handles it
715
+ // after schema invalidation to avoid flashing stale tables.
716
+ if coordinator?.isSwitchingDatabase != true {
717
+ coordinator?.reloadSidebar()
718
+ }
719
coordinator?.initRedisKeyTreeIfNeeded()
720
721
0 commit comments