diff --git a/packages/nc-gui-v2/composables/useViewData.ts b/packages/nc-gui-v2/composables/useViewData.ts index cf18a30c2b..f932380602 100644 --- a/packages/nc-gui-v2/composables/useViewData.ts +++ b/packages/nc-gui-v2/composables/useViewData.ts @@ -227,7 +227,7 @@ export function useViewData( const loadFormData = async () => { if (!viewMeta?.value?.id) return try { - const { columns, ...view } = (await $api.dbView.formRead(viewMeta.value.id)) as Record + const { columns } = (await $api.dbView.formRead(viewMeta.value.id)) as Record const fieldById = columns.reduce( (o: Record, f: Record) => ({