mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
do not app again for not normalized apps
This commit is contained in:
parent
e01f2bcff9
commit
08965f462c
1 changed files with 6 additions and 2 deletions
|
|
@ -471,7 +471,8 @@ export class AppImportExportService {
|
|||
appVersionId,
|
||||
appResourceMappings.dataQueryMapping,
|
||||
appResourceMappings.componentsMapping,
|
||||
appResourceMappings.pagesMapping
|
||||
appResourceMappings.pagesMapping,
|
||||
isNormalizedAppDefinitionSchema
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -1404,8 +1405,11 @@ export class AppImportExportService {
|
|||
versionId: string,
|
||||
oldDataQueryToNewMapping: Record<string, unknown>,
|
||||
oldComponentToNewComponentMapping: Record<string, unknown>,
|
||||
oldPageToNewPageMapping: Record<string, unknown>
|
||||
oldPageToNewPageMapping: Record<string, unknown>,
|
||||
isNormalizedAppDefinitionSchema: boolean
|
||||
) {
|
||||
if (!isNormalizedAppDefinitionSchema) return;
|
||||
|
||||
const allEvents = await manager.find(EventHandler, {
|
||||
where: { appVersionId: versionId },
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue