You've already forked AstralRinth
forked from didirus/AstralRinth
Fix filter bar showing up with no options
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
<template>
|
<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" />
|
<FilterIcon class="text-secondary h-5 w-5 mr-1" />
|
||||||
<button
|
<button
|
||||||
v-for="filter in options"
|
v-for="filter in options"
|
||||||
|
|||||||
Reference in New Issue
Block a user