mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 00:36:01 +00:00
#938 current database is not changed after closing tab
This commit is contained in:
@@ -295,6 +295,7 @@
|
||||
import CloseTabModal from '../modals/CloseTabModal.svelte';
|
||||
import SwitchDatabaseModal from '../modals/SwitchDatabaseModal.svelte';
|
||||
import { getConnectionLabel } from 'dbgate-tools';
|
||||
import { changeDatabaseByCurrentTab } from '../utility/changeCurrentDbByTab';
|
||||
|
||||
export let multiTabIndex;
|
||||
export let shownTab;
|
||||
@@ -334,6 +335,7 @@
|
||||
return;
|
||||
}
|
||||
setSelectedTab(tabid);
|
||||
changeDatabaseByCurrentTab();
|
||||
};
|
||||
|
||||
const handleMouseDown = (e, tabid) => {
|
||||
|
||||
Reference in New Issue
Block a user