From d7955702f84dc3e14ec14df96b016df0ea6bf388 Mon Sep 17 00:00:00 2001 From: tiny-craft <137850705+tiny-craft@users.noreply.github.com> Date: Wed, 5 Jul 2023 00:57:00 +0800 Subject: [PATCH] feat: add reload database --- .../src/components/content/ContentPane.vue | 38 ++++++++++++++++--- .../components/dialogs/ConnectionDialog.vue | 2 +- .../components/dialogs/PreferencesDialog.vue | 2 +- frontend/src/components/icons/Close.vue | 22 ++++++++++- .../src/components/sidebar/BrowserTree.vue | 7 ++-- frontend/src/stores/connections.js | 20 +++++----- 6 files changed, 69 insertions(+), 22 deletions(-) diff --git a/frontend/src/components/content/ContentPane.vue b/frontend/src/components/content/ContentPane.vue index 8a3c7d3..8fcf4d2 100644 --- a/frontend/src/components/content/ContentPane.vue +++ b/frontend/src/components/content/ContentPane.vue @@ -54,10 +54,6 @@ const onUpdateValue = (tabIndex) => { tabStore.switchTab(tabIndex) } -const onAddTab = () => { - tabStore.newBlankTab() -} - const i18n = useI18n() const confirmDialog = useConfirmDialog() const onCloseTab = (tabIndex) => { @@ -72,13 +68,12 @@ const onCloseTab = (tabIndex) => {