diff --git a/src/modules/13_salary/components/SalaryLists/DialogFormEdit.vue b/src/modules/13_salary/components/SalaryLists/DialogFormEdit.vue index b81c553c1..342b1f64d 100644 --- a/src/modules/13_salary/components/SalaryLists/DialogFormEdit.vue +++ b/src/modules/13_salary/components/SalaryLists/DialogFormEdit.vue @@ -34,7 +34,7 @@ function close() { function onSubmit() { dialogConfirm($q, () => { - if (amount.value) { + if (amount.value !== null) { const amountString: string = amount.value.toString(); const body = { profileId: profileId.value, @@ -58,13 +58,6 @@ function onSubmit() { } }); } - -function inputEdit(val: boolean) { - return { - "full-width cursor-pointer inputgreen ": val, - "full-width cursor-pointer inputgreen": !val, - }; -}