mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-28 18:22:40 +00:00
Highlight if on
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
severity="secondary"
|
severity="secondary"
|
||||||
@click="outputFilterPopup.toggle($event)"
|
@click="outputFilterPopup.toggle($event)"
|
||||||
v-tooltip="$t(`sideToolbar.queueTab.filter`)"
|
v-tooltip="$t(`sideToolbar.queueTab.filter`)"
|
||||||
|
:class="{ 'text-yellow-500': anyFilter }"
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
:icon="
|
:icon="
|
||||||
@@ -149,6 +150,7 @@ const hideCached = computed<boolean>(
|
|||||||
const hideCanceled = computed<boolean>(
|
const hideCanceled = computed<boolean>(
|
||||||
() => settingStore.get(SETTING_FILTER)?.hideCanceled
|
() => settingStore.get(SETTING_FILTER)?.hideCanceled
|
||||||
)
|
)
|
||||||
|
const anyFilter = computed(() => hideCanceled.value || hideCached.value)
|
||||||
|
|
||||||
watch(hideCached, () => {
|
watch(hideCached, () => {
|
||||||
updateVisibleTasks()
|
updateVisibleTasks()
|
||||||
|
|||||||
Reference in New Issue
Block a user