From 45be9e436a87b29b4b2c7210c5b17d97eb9abe5b Mon Sep 17 00:00:00 2001 From: mertmit Date: Tue, 30 Apr 2024 17:12:26 +0000 Subject: [PATCH] fix: skip load row only for new rows --- packages/nc-gui/composables/useExpandedFormStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/composables/useExpandedFormStore.ts b/packages/nc-gui/composables/useExpandedFormStore.ts index 31521f1324..9643caf814 100644 --- a/packages/nc-gui/composables/useExpandedFormStore.ts +++ b/packages/nc-gui/composables/useExpandedFormStore.ts @@ -304,7 +304,7 @@ const [useProvideExpandedFormStore, useExpandedFormStore] = useInjectionState((m } const loadRow = async (rowId?: string, onlyVirtual = false) => { - if (!rowId || row.value.rowMeta.new) return + if (row.value.rowMeta.new) return if (isPublic.value || !meta.value?.id) return let record = await $api.dbTableRow.read(