Fix filter bar showing up with no options

This commit is contained in:
Prospector 2025-05-01 16:27:18 -07:00
parent 3dad6b317f
commit 9168d349fc

View File

@ -1,5 +1,8 @@
<template>
<div v-if="showAllOptions || options.length > 1" class="flex flex-wrap gap-1 items-center">
<div
v-if="(showAllOptions && options.length > 0) || options.length > 1"
class="flex flex-wrap gap-1 items-center"
>
<FilterIcon class="text-secondary h-5 w-5 mr-1" />
<button
v-for="filter in options"