refactor: remove Function

This commit is contained in:
Net 2024-08-01 16:46:08 +07:00
parent ae5f66eaa4
commit 1be5e15bf3
2 changed files with 1 additions and 3 deletions

View file

@ -174,10 +174,9 @@ const insuranceCompanyFilter = selectFilterOptionRefMod(
color="red"
:class="{ dark: $q.dark.isActive }"
@click.stop="
() => {
async () => {
if (employeeCheckup?.[index].statusSave) {
$emit('remove', index);
removeData(index);
} else {
removeData(index);
}

View file

@ -140,7 +140,6 @@ const workplaceFilter = selectFilterOptionRefMod(
() => {
if (employeeWork?.[index].statusSave) {
$emit('remove', index);
removeData(index);
} else {
removeData(index);
}