1 parent
53b7be3c6f
commit
906ea8ba26
8 files changed
+104
-16
No files matched your search
@@ -2041,6 +2041,12 @@ function setSidebarOpen(open: boolean) {
|
||||
safeLocalStorageSet("dbx-sidebar-open", open ? "true" : "false");
|
||||
}
|
||||
|
||||
async function locateTabInSidebar(tab: QueryTab) {
|
||||
setSidebarOpen(true);
|
||||
await nextTick();
|
||||
await appSidebarRef.value?.locateTabInSidebar(tab);
|
||||
}
|
||||
|
||||
function ensureQueryTab(): string {
|
||||
const tab = activeTab.value;
|
||||
if (tab && tab.mode === "query") return tab.id;
|
||||
@@ -2847,6 +2853,7 @@ onUnmounted(() => {
|
||||
:agent-driver-update-count="toolbarAgentDriverUpdateCount"
|
||||
@activate-driver-store="openDriverStorePage"
|
||||
@activate-settings-page="activateSettingsPage"
|
||||
@locate-tab="locateTabInSidebar"
|
||||
@activate-tab="
|
||||
driverStoreActive = false;
|
||||
settingsStore.settingsPageActive = false;
|
||||
|
||||
Reference in new issue
Block a user