forked from Mirrors/elk
simplify div
This commit is contained in:
parent
e720a88ecd
commit
73854730f0
1 changed files with 1 additions and 2 deletions
|
@ -13,8 +13,7 @@ const isActive = $computed(() => {
|
|||
<template>
|
||||
<VDropdown>
|
||||
<button btn-text>
|
||||
<div v-if="!isActive" i-ri:filter-2-line />
|
||||
<div v-else i-ri:filter-2-fill />
|
||||
<div :class="isActive ? 'i-ri:filter-2-fill' : 'i-ri:filter-2-line'" />
|
||||
</button>
|
||||
|
||||
<template #popper>
|
||||
|
|
Loading…
Reference in a new issue