From 1bc95b0c2cd91bbf0410a23266e23bbbf2a71995 Mon Sep 17 00:00:00 2001 From: Fabio Di Stasio Date: Fri, 10 Nov 2023 18:12:07 +0100 Subject: [PATCH] fix: missing open folder icon for trigger, function and other database elements on sidebar --- .../components/WorkspaceExploreBarSchema.vue | 38 ++++++++++++++++++- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/src/renderer/components/WorkspaceExploreBarSchema.vue b/src/renderer/components/WorkspaceExploreBarSchema.vue index ed4258bd..21fc6c6e 100644 --- a/src/renderer/components/WorkspaceExploreBarSchema.vue +++ b/src/renderer/components/WorkspaceExploreBarSchema.vue @@ -79,6 +79,11 @@ icon-name="mdiFolderCog" :size="18" /> + {{ t('database.trigger', 2) }}
@@ -134,6 +139,11 @@ icon-name="mdiFolderSync" :size="18" /> + {{ t('database.storedRoutine', 2) }}
@@ -177,6 +187,11 @@ :size="18" :style="`min-width: 18px`" /> + {{ t('database.triggerFunction', 2) }}
@@ -218,6 +233,11 @@ icon-name="mdiFolderMove" :size="18" /> + {{ t('database.function', 2) }}
@@ -260,6 +280,11 @@ icon-name="mdiFolderClock" :size="18" /> + {{ t('database.scheduler', 2) }}
@@ -645,10 +670,19 @@ defineExpose({ selectSchema, schemaAccordion }); .database-misc { margin-left: 1.6rem; - .accordion[open] .accordion-header > .misc-icon:first-child::before { - content: "\F0770"; + .open-folder { + display: none; } + .accordion[open] .accordion-header { + > .misc-icon { + display: none; + &.open-folder { + display: initial; + } + } + } + .accordion-body { margin-bottom: 0.2rem; }