diff --git a/client/web/reporter/src/views/Report/Builder.vue b/client/web/reporter/src/views/Report/Builder.vue index 9082b796e..4cf5d8658 100644 --- a/client/web/reporter/src/views/Report/Builder.vue +++ b/client/web/reporter/src/views/Report/Builder.vue @@ -818,8 +818,9 @@ export default { // Fetch saved report and merge with datasources return this.$SystemAPI.reportRead({ reportID }).then(report => { return this.$SystemAPI.reportUpdate(new system.Report({ ...report, sources })) - }).then(({ sources }) => { - this.report.sources = (new system.Report({ sources })).sources + }).then(report => { + report.scenarios = this.report.scenarios + this.report = new system.Report(report) this.refreshReport() this.datasources.showConfigurator = false this.toastSuccess(this.$t('notification:report.datasources.updated'))