mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
Merge pull request #9402 from ToolJet/release/platformv14.8
Release platform v14.8 (v2.35.3)
This commit is contained in:
commit
ac6f191789
4 changed files with 6 additions and 5 deletions
2
.version
2
.version
|
|
@ -1 +1 @@
|
|||
2.35.2
|
||||
2.35.3
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
2.35.2
|
||||
2.35.3
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
2.35.2
|
||||
2.35.3
|
||||
|
|
|
|||
|
|
@ -95,13 +95,14 @@ export class AppImportExportService {
|
|||
}
|
||||
const appVersions = await queryAppVersions.orderBy('app_versions.created_at', 'ASC').getMany();
|
||||
|
||||
let dataSources =
|
||||
const legacyLocalDataSources =
|
||||
appVersions?.length &&
|
||||
(await manager
|
||||
.createQueryBuilder(DataSource, 'data_sources')
|
||||
.where('data_sources.appVersionId IN(:...versionId)', {
|
||||
versionId: appVersions.map((v) => v.id),
|
||||
})
|
||||
.andWhere('data_sources.scope != :scope', { scope: DataSourceScopes.GLOBAL })
|
||||
.orderBy('data_sources.created_at', 'ASC')
|
||||
.getMany());
|
||||
|
||||
|
|
@ -127,7 +128,7 @@ export class AppImportExportService {
|
|||
|
||||
const globalDataSources = [...new Map(globalQueries.map((gq) => [gq.dataSource.id, gq.dataSource])).values()];
|
||||
|
||||
dataSources = [...dataSources, ...globalDataSources];
|
||||
const dataSources = [...legacyLocalDataSources, ...globalDataSources];
|
||||
|
||||
if (dataSources?.length) {
|
||||
dataQueries = await manager
|
||||
|
|
|
|||
Loading…
Reference in a new issue