fix bug filter contain status

This commit is contained in:
Warunee Tamkoo 2023-07-13 17:32:05 +07:00
parent 88c2368fa8
commit b2446316fc

View file

@ -376,9 +376,9 @@ const containStatus = ref<boolean>(false);
watch(containStatus, () => {
// console.log("containStatus===>", containStatus.value);
if (containStatus.value) {
rows.value = rowsAll.value.filter((x: any) => x.statusId != 'CONTAIN');
} else {
rows.value = rowsAll.value.filter((x: any) => x.statusId == 'CONTAIN');
} else {
rows.value = rowsAll.value.filter((x: any) => x.statusId != 'CONTAIN');
}
});