Commit 2793a842 authored by nwindis's avatar nwindis
Browse files

Merge branch 'develop' into feature/#15-color-schema

* develop:
  fix: Fixed toggle buttons disappear, anchoring manifest title to top.
parents b22c4eee c1b9ff4d
Pipeline #153621 passed with stages
in 3 minutes and 28 seconds
......@@ -2,17 +2,20 @@
<div class="q-d-flex">
<ToggleFilter>
<q-list class="toggle-list">
<q-item v-for="(p, i) in panels" :key="`toggle${i}`"
:class="$q.dark.isActive ? 'bg-black' : 'bg-grey-9 text-white'"
clickable
flat
v-close-popup
:title="handleToggleTitle(i)"
@click="() => handleStatusPanel(i)"
>
<q-icon class="q-pr-xs" size="xs" :name="renderCheckIcon(i)" />
{{ p.panel_label.toUpperCase() }}
</q-item>
<div v-for="(p, i) in panels" :key="`toggle${i}`">
<q-item
:class="$q.dark.isActive ? 'bg-black' : 'bg-grey-9 text-white'"
clickable
flat
v-close-popup
:title="handleToggleTitle(i)"
@click="() => handleStatusPanel(i)"
>
<q-icon class="q-pr-xs" size="xs" :name="renderCheckIcon(i)" />
{{ p.panel_label.toUpperCase() }}
</q-item>
</div>
<q-item
:class="$q.dark.isActive ? 'bg-black' : 'bg-grey-8 text-white'"
clickable
......@@ -97,5 +100,4 @@ button:last-of-type {
.q-item {
min-height: 0;
}
</style>
......@@ -80,7 +80,7 @@ export default {
connector: newConnectors,
};
});
return this.panels;
return this.panels.filter((p) => p.show);
},
},
mounted() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment