Browse Source

fix: skip load row only for new rows

pull/8371/head
mertmit 7 months ago
parent
commit
45be9e436a
  1. 2
      packages/nc-gui/composables/useExpandedFormStore.ts

2
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(

Loading…
Cancel
Save