From 65a7a21a87efbf96feeb4ba092db6ae53dfdf60b Mon Sep 17 00:00:00 2001
From: Paul Mck <vixtir90@gmail.com>
Date: Fri, 8 Feb 2019 17:47:47 +0300
Subject: [PATCH] delete metric

---
 .../model-version-details.component.html             | 12 ++----------
 .../metrics/base-metric-chart.component.ts           |  2 +-
 2 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/src/modules/models/components/model-version-details/model-version-details.component.html b/src/modules/models/components/model-version-details/model-version-details.component.html
index fb5db2b9..1dec90d5 100644
--- a/src/modules/models/components/model-version-details/model-version-details.component.html
+++ b/src/modules/models/components/model-version-details/model-version-details.component.html
@@ -57,15 +57,7 @@
             </li>
         </ol>
 
-        <div class="content__body-section">
-            <hydro-signatures [signatures]="(modelVersion$ | async)?.modelContract?.signatures"></hydro-signatures>
-<<<<<<< HEAD
-        </div>        
-
-        <div *ngIf="(modelVersion$ | async)?.id; let modelVersionId"class="content__body-section">
-            <hydro-data-profiles [modelVersionId]="modelVersionId"></hydro-data-profiles>
-=======
->>>>>>> monitoring-profiler-v2
-        </div>
+    <div class="content__body-section">
+        <hydro-signatures [signatures]="(modelVersion$ | async)?.modelContract?.signatures"></hydro-signatures>
     </div>
 </div>
\ No newline at end of file
diff --git a/src/modules/shared/components/metrics/base-metric-chart.component.ts b/src/modules/shared/components/metrics/base-metric-chart.component.ts
index 61a66121..01c090a9 100644
--- a/src/modules/shared/components/metrics/base-metric-chart.component.ts
+++ b/src/modules/shared/components/metrics/base-metric-chart.component.ts
@@ -109,7 +109,7 @@ export class BaseMetricChartComponent implements OnInit, OnChanges, OnDestroy {
     }
 
     public onDelete(): void {
-        this.delete.emit(this.metricSpecificationProvider.id);
+        this.delete.emit(this.metricSpecId);
     }
 
     protected getRequestPromise(): Promise<any> {