Browse Source

fix: small changes

pull/7452/head
Ramesh Mane 11 months ago
parent
commit
5784071489
  1. 4
      packages/nc-gui/composables/useExpandedFormStore.ts

4
packages/nc-gui/composables/useExpandedFormStore.ts

@ -48,9 +48,7 @@ const [useProvideExpandedFormStore, useExpandedFormStore] = useInjectionState((m
const { sharedView } = useSharedView()
const row = ref<Row>(
sharedView.value?.type === ViewTypes.GALLERY || sharedView.value?.type === ViewTypes.KANBAN
? _row.value
: _row.value.rowMeta.new
sharedView.value?.type === ViewTypes.GALLERY || sharedView.value?.type === ViewTypes.KANBAN || _row.value.rowMeta.new
? _row.value
: ({ row: {}, oldRow: {}, rowMeta: {} } as Row),
)

Loading…
Cancel
Save