mirror of https://github.com/Fabio286/antares.git
fix: missing open folder icon for trigger, function and other database elements on sidebar
This commit is contained in:
parent
186fc18363
commit
1bc95b0c2c
|
@ -79,6 +79,11 @@
|
|||
icon-name="mdiFolderCog"
|
||||
:size="18"
|
||||
/>
|
||||
<BaseIcon
|
||||
class="misc-icon open-folder mr-1"
|
||||
icon-name="mdiFolderOpen"
|
||||
:size="18"
|
||||
/>
|
||||
{{ t('database.trigger', 2) }}
|
||||
</summary>
|
||||
<div class="accordion-body">
|
||||
|
@ -134,6 +139,11 @@
|
|||
icon-name="mdiFolderSync"
|
||||
:size="18"
|
||||
/>
|
||||
<BaseIcon
|
||||
class="misc-icon open-folder mr-1"
|
||||
icon-name="mdiFolderOpen"
|
||||
:size="18"
|
||||
/>
|
||||
{{ t('database.storedRoutine', 2) }}
|
||||
</summary>
|
||||
<div class="accordion-body">
|
||||
|
@ -177,6 +187,11 @@
|
|||
:size="18"
|
||||
:style="`min-width: 18px`"
|
||||
/>
|
||||
<BaseIcon
|
||||
class="misc-icon open-folder mr-1"
|
||||
icon-name="mdiFolderOpen"
|
||||
:size="18"
|
||||
/>
|
||||
{{ t('database.triggerFunction', 2) }}
|
||||
</summary>
|
||||
<div class="accordion-body">
|
||||
|
@ -218,6 +233,11 @@
|
|||
icon-name="mdiFolderMove"
|
||||
:size="18"
|
||||
/>
|
||||
<BaseIcon
|
||||
class="misc-icon open-folder mr-1"
|
||||
icon-name="mdiFolderOpen"
|
||||
:size="18"
|
||||
/>
|
||||
{{ t('database.function', 2) }}
|
||||
</summary>
|
||||
<div class="accordion-body">
|
||||
|
@ -260,6 +280,11 @@
|
|||
icon-name="mdiFolderClock"
|
||||
:size="18"
|
||||
/>
|
||||
<BaseIcon
|
||||
class="misc-icon open-folder mr-1"
|
||||
icon-name="mdiFolderOpen"
|
||||
:size="18"
|
||||
/>
|
||||
{{ t('database.scheduler', 2) }}
|
||||
</summary>
|
||||
<div class="accordion-body">
|
||||
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue