mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 00:16:00 +00:00
#406 keyboard shortcut to show/hide sidebar
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { get } from 'svelte/store';
|
||||
import getElectron from './getElectron';
|
||||
import { currentArchive, extensions, selectedWidget } from '../stores';
|
||||
import { currentArchive, extensions, selectedWidget, visibleWidgetSideBar } from '../stores';
|
||||
import { showSnackbarSuccess } from './snackbar';
|
||||
import { apiCall } from './api';
|
||||
|
||||
@@ -16,5 +16,6 @@ export async function openArchiveFolder() {
|
||||
|
||||
currentArchive.set(resp);
|
||||
selectedWidget.set('archive');
|
||||
visibleWidgetSideBar.set(true);
|
||||
showSnackbarSuccess(`Created link ${resp}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user