diff --git a/packages/nc-gui/composables/useViewData.ts b/packages/nc-gui/composables/useViewData.ts index 643d23100a..b572c9aea2 100644 --- a/packages/nc-gui/composables/useViewData.ts +++ b/packages/nc-gui/composables/useViewData.ts @@ -264,7 +264,7 @@ export function useViewData( project?.value.id as string, metaValue?.id as string, viewMetaValue?.id as string, - id, + encodeURIComponent(id), { // if value is undefined treat it as null [property]: toUpdate.row[property] ?? null, @@ -275,7 +275,7 @@ export function useViewData( // } ) // audit - $api.utils.auditRowUpdate(id, { + $api.utils.auditRowUpdate(encodeURIComponent(id), { fk_model_id: metaValue?.id as string, column_name: property, row_id: id,