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>
|
<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>
|
||||||
|
|
Loading…
Reference in a new issue