diff --git a/projects/observability/src/pages/custom-dashboards/custom-dashboard-detail/custom-dashboard-detail.component.ts b/projects/observability/src/pages/custom-dashboards/custom-dashboard-detail/custom-dashboard-detail.component.ts index 73b504d86..def887a40 100644 --- a/projects/observability/src/pages/custom-dashboards/custom-dashboard-detail/custom-dashboard-detail.component.ts +++ b/projects/observability/src/pages/custom-dashboards/custom-dashboard-detail/custom-dashboard-detail.component.ts @@ -22,7 +22,6 @@ import { DASHBOARD_VIEWS } from './../custom-dashboards-view.component';
-
+
- -
- -
-
- +
` }) @@ -193,12 +186,11 @@ export class CustomDashboardDetailComponent { replaceCurrentHistory: false }); } + public redirectToListing(): void { - const confirmation = confirm(`Your unsaved changes will be lost! Discard them anyways?`); - if (confirmation) { - this.navigateBack(); - } + this.navigateBack(); } + public navigateBack(): void { this.navigationService.navigate({ navType: NavigationParamsType.InApp, diff --git a/projects/observability/src/pages/custom-dashboards/custom-dashboard-panel/custom-dashboard-panel.component.ts b/projects/observability/src/pages/custom-dashboards/custom-dashboard-panel/custom-dashboard-panel.component.ts index 6160e2e64..3d2b93057 100644 --- a/projects/observability/src/pages/custom-dashboards/custom-dashboard-panel/custom-dashboard-panel.component.ts +++ b/projects/observability/src/pages/custom-dashboards/custom-dashboard-panel/custom-dashboard-panel.component.ts @@ -26,7 +26,7 @@ import { ExploreSpecificationBuilder } from './../../../shared/graphql/request/b {{ panel?.name || panel?.id }} -
+
= new EventEmitter();