mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
[appdef] Pages attributes are missing on versioning or imported app (#7904)
* fixes: on creating new version pages attributes are not copied * fixes: on importing apps with pages attributes are not copied * fixes: component double duplication issues
This commit is contained in:
parent
6875e3705f
commit
e8d3bf3dbf
2 changed files with 6 additions and 0 deletions
|
|
@ -379,6 +379,8 @@ export class AppImportExportService {
|
|||
handle: page.handle,
|
||||
appVersionId: appResourceMappings.appVersionMapping[importingAppVersion.id],
|
||||
index: pagePostionIntheList,
|
||||
disabled: page.disabled || false,
|
||||
hidden: page.hidden || false,
|
||||
});
|
||||
const pageCreated = await manager.save(newPage);
|
||||
|
||||
|
|
@ -652,6 +654,8 @@ export class AppImportExportService {
|
|||
handle: page.handle,
|
||||
appVersionId: appResourceMappings.appVersionMapping[importingAppVersion.id],
|
||||
index: page.index,
|
||||
disabled: page.disabled || false,
|
||||
hidden: page.hidden || false,
|
||||
});
|
||||
|
||||
const pageCreated = await manager.save(newPage);
|
||||
|
|
|
|||
|
|
@ -479,6 +479,8 @@ export class AppsService {
|
|||
name: page.name,
|
||||
handle: page.handle,
|
||||
index: page.index,
|
||||
disabled: page.disabled,
|
||||
hidden: page.hidden,
|
||||
appVersionId: appVersion.id,
|
||||
})
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue