fix: close only if exist

This commit is contained in:
Shariq Ansari 2024-05-20 19:46:05 +05:30
parent e699538043
commit f0b6988076

View File

@ -18,7 +18,7 @@
<Button
class="rounded-l-none border-l"
icon="x"
@click.stop="clearfilter"
@click.stop="clearfilter(false)"
/>
</Tooltip>
</template>
@ -423,7 +423,7 @@ function removeFilter(index) {
function clearfilter(close) {
filters.value.clear()
apply()
close()
close && close()
}
function updateValue(value, filter) {