เเก้เพิ่มเติม ค้างยืมคืน

This commit is contained in:
setthawutttty 2023-09-28 17:31:19 +07:00
parent 94f85adc0c
commit b01e667f34
2 changed files with 2 additions and 2 deletions

View file

@ -402,7 +402,7 @@ const clearInsigniaFilters = (name: string) => {
doneFn:Function) => filterSelector(inputValue, doneFn,'filterInsigniaOp'
) "
>
<template v-if="DataStore.insignia !== 'all'" v-slot:append>
<template v-if="DataStore.insignia !== ''" v-slot:append>
<q-icon
name="cancel"
@click.stop.prevent="

View file

@ -443,7 +443,7 @@ const filterSelector = (val: any, update: Function, name: any) => {
update(() => {
const needle = val.toLowerCase();
if (name === 'insigniaTypeFilter') {
DataStore.insignia = ''
DataStore.insignia = null as any
insigniaTypeFilter.value = insigniaTypeOption.value.filter(
(v: any) => v.name.toLowerCase().indexOf(needle) > -1
);