mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-03 07:16:52 +00:00
fix: nested templates
This commit is contained in:
@@ -59,11 +59,13 @@ function openBlueprintEditor() {
|
||||
if (isClickDisabled.value) return
|
||||
|
||||
// Clone the blueprint data (exclude internal flags for the form)
|
||||
const { _isBlueprint, ...blueprintData } = item.value
|
||||
const { _isBlueprint, _ltarState, ...blueprintData } = item.value
|
||||
const nestedLtarState = _ltarState && Object.keys(_ltarState).length ? _ltarState : undefined
|
||||
|
||||
open({
|
||||
isOpen: true,
|
||||
row: { row: { ...blueprintData }, oldRow: {}, rowMeta: { new: true } },
|
||||
row: { row: { ...blueprintData }, oldRow: {}, rowMeta: { new: true, ltarState: nestedLtarState } },
|
||||
state: nestedLtarState,
|
||||
meta: relatedTableMeta.value,
|
||||
loadRow: false,
|
||||
useMetaFields: true,
|
||||
|
||||
Reference in New Issue
Block a user