mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-21 13:37:28 +00:00
fixes: able to import olders apps with no components (#5016)
This commit is contained in:
parent
2065e700cc
commit
309ab03498
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ import { cloneDeep, omit } from 'lodash';
|
|||
import { v4 as uuid } from 'uuid';
|
||||
|
||||
export function convertAppDefinitionFromSinglePageToMultiPage(appDefinition: any) {
|
||||
const components = cloneDeep(appDefinition.components);
|
||||
const components = cloneDeep(appDefinition?.components ?? {});
|
||||
const newPageId = uuid();
|
||||
const handle = 'home';
|
||||
const name = 'Home';
|
||||
|
|
|
|||
Loading…
Reference in a new issue