|
|
@ -264,7 +264,7 @@ export function useViewData( |
|
|
|
project?.value.id as string, |
|
|
|
project?.value.id as string, |
|
|
|
metaValue?.id as string, |
|
|
|
metaValue?.id as string, |
|
|
|
viewMetaValue?.id as string, |
|
|
|
viewMetaValue?.id as string, |
|
|
|
id, |
|
|
|
encodeURIComponent(id), |
|
|
|
{ |
|
|
|
{ |
|
|
|
// if value is undefined treat it as null
|
|
|
|
// if value is undefined treat it as null
|
|
|
|
[property]: toUpdate.row[property] ?? null, |
|
|
|
[property]: toUpdate.row[property] ?? null, |
|
|
@ -275,7 +275,7 @@ export function useViewData( |
|
|
|
// }
|
|
|
|
// }
|
|
|
|
) |
|
|
|
) |
|
|
|
// audit
|
|
|
|
// audit
|
|
|
|
$api.utils.auditRowUpdate(id, { |
|
|
|
$api.utils.auditRowUpdate(encodeURIComponent(id), { |
|
|
|
fk_model_id: metaValue?.id as string, |
|
|
|
fk_model_id: metaValue?.id as string, |
|
|
|
column_name: property, |
|
|
|
column_name: property, |
|
|
|
row_id: id, |
|
|
|
row_id: id, |
|
|
|