Skip to content

Commit 9168d34

Browse files
committed
Fix filter bar showing up with no options
1 parent 3dad6b3 commit 9168d34

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/ui/src/components/base/FilterBar.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<template>
2-
<div v-if="showAllOptions || options.length > 1" class="flex flex-wrap gap-1 items-center">
2+
<div
3+
v-if="(showAllOptions && options.length > 0) || options.length > 1"
4+
class="flex flex-wrap gap-1 items-center"
5+
>
36
<FilterIcon class="text-secondary h-5 w-5 mr-1" />
47
<button
58
v-for="filter in options"

0 commit comments

Comments
 (0)