Skip to content

Commit 663f6fc

Browse files
DSC-1413 remove unnecessary block
1 parent 13da7d8 commit 663f6fc

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/app/shared/metric/metric-loader/metric-loader.component.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ export class MetricLoaderComponent implements OnInit, OnDestroy {
7373
}
7474
this.hasLoadedScript = !!canLoadScript;
7575
this.metricLoaderService.loadMetricTypeComponent(metric.metricType, canLoadScript).then((component) => {
76-
if (hasValue(this.cookiesSubscription) && canLoadScript) {
77-
this.container.clear();
78-
this.cookiesSubscription.unsubscribe();
79-
}
8076
this.instantiateComponent(component, metric, canLoadScript, forceRendering);
8177
});
8278
}

0 commit comments

Comments
 (0)