mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
fixes saving trigger and throwing an error when appdefinition is null on first load
This commit is contained in:
parent
a4a033cc6f
commit
770e207af1
1 changed files with 1 additions and 1 deletions
|
|
@ -983,7 +983,7 @@ const EditorComponent = (props) => {
|
|||
updateEditorState({
|
||||
isUpdatingEditorStateInProcess: false,
|
||||
});
|
||||
} else if (!isEmpty(editingVersion)) {
|
||||
} else if (!isEmpty(editingVersion) && !isEmpty(appDiffOptions) && appDefinition) {
|
||||
//! The computeComponentPropertyDiff function manages the calculation of differences in table columns by requiring complete column data. Without this complete data, the resulting JSON structure may be incorrect.
|
||||
const paramDiff = computeComponentPropertyDiff(appDefinitionDiff, appDefinition, appDiffOptions);
|
||||
const updateDiff = computeAppDiff(paramDiff, currentPageId, appDiffOptions, currentLayout);
|
||||
|
|
|
|||
Loading…
Reference in a new issue