Highlight if on

This commit is contained in:
pythongosssss
2024-11-18 16:53:28 +00:00
parent a7b55c9c69
commit 7de77c0ba9

View File

@@ -11,6 +11,7 @@
severity="secondary"
@click="outputFilterPopup.toggle($event)"
v-tooltip="$t(`sideToolbar.queueTab.filter`)"
:class="{ 'text-yellow-500': anyFilter }"
/>
<Button
:icon="
@@ -149,6 +150,7 @@ const hideCached = computed<boolean>(
const hideCanceled = computed<boolean>(
() => settingStore.get(SETTING_FILTER)?.hideCanceled
)
const anyFilter = computed(() => hideCanceled.value || hideCached.value)
watch(hideCached, () => {
updateVisibleTasks()