fix: remove deprecated condition to check
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
This commit is contained in:
parent
561a895d04
commit
6a182d5403
|
@ -123,7 +123,7 @@ async function handleSave() {
|
||||||
}
|
}
|
||||||
function validateFields(item) {
|
function validateFields(item) {
|
||||||
// Only validate fields that are being updated
|
// Only validate fields that are being updated
|
||||||
const shouldExist = (field) => !isUpdate || field in item;
|
const shouldExist = (field) => field in item;
|
||||||
|
|
||||||
if (!shouldExist('ticketServiceTypeFk') && !item.ticketServiceTypeFk) {
|
if (!shouldExist('ticketServiceTypeFk') && !item.ticketServiceTypeFk) {
|
||||||
notify('Description is required', 'negative');
|
notify('Description is required', 'negative');
|
||||||
|
|
Loading…
Reference in New Issue