From b40efb25648385b51fe93b51de984a83f63777ed Mon Sep 17 00:00:00 2001 From: sagIoTPower Date: Wed, 29 Nov 2023 13:55:56 +0100 Subject: [PATCH] changed download_url --- analytics-ui/src/sample/list/sample.component.ts | 2 +- analytics-ui/src/shared/analytics.service.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/analytics-ui/src/sample/list/sample.component.ts b/analytics-ui/src/sample/list/sample.component.ts index 8e94062..96b8982 100644 --- a/analytics-ui/src/sample/list/sample.component.ts +++ b/analytics-ui/src/sample/list/sample.component.ts @@ -168,7 +168,7 @@ export class SampleGridComponent implements OnInit { const monitors = []; for (let i = 0; i < this.samples.length; i++) { if (ids.includes(this.samples[i].id)) { - monitors.push(this.samples[i].url); + monitors.push(this.samples[i].downloadUrl); } } const initialState = { diff --git a/analytics-ui/src/shared/analytics.service.ts b/analytics-ui/src/shared/analytics.service.ts index a598d9d..fe97fcc 100644 --- a/analytics-ui/src/shared/analytics.service.ts +++ b/analytics-ui/src/shared/analytics.service.ts @@ -91,6 +91,7 @@ export class AnalyticsService { body: JSON.stringify({ extension_name: name, monitors: monitors, + upload: false, }), method: "POST", responseType: "blob",