fixes: query options to new mapped ids

This commit is contained in:
arpitnath 2023-10-24 20:32:35 +05:30
parent e0f36a18a5
commit bda6e886ce

View file

@ -792,7 +792,12 @@ export class AppImportExportService {
await manager.save(EventHandler, newEvent);
});
} else {
this.replaceDataQueryOptionsWithNewDataQueryIds(
mappedNewDataQuery.options,
appResourceMappings.dataQueryMapping
);
const queryEvents = mappedNewDataQuery.options?.events || [];
delete mappedNewDataQuery?.options?.events;
queryEvents.forEach(async (event, index) => {