simplify div

This commit is contained in:
Shinigami92 2023-04-02 15:54:19 +02:00
parent e720a88ecd
commit 73854730f0

View file

@ -13,8 +13,7 @@ const isActive = $computed(() => {
<template> <template>
<VDropdown> <VDropdown>
<button btn-text> <button btn-text>
<div v-if="!isActive" i-ri:filter-2-line /> <div :class="isActive ? 'i-ri:filter-2-fill' : 'i-ri:filter-2-line'" />
<div v-else i-ri:filter-2-fill />
</button> </button>
<template #popper> <template #popper>