<cds-header-navigation>
<cd-language-selector class="d-flex"></cd-language-selector>
</cds-header-navigation>
- <div class="cds--btn cds--btn--icon-only cds--header__action">
- <cd-notifications (click)="toggleRightSidebar()"></cd-notifications>
+ <div class="cds--btn cds--btn--icon-only cds--header__action"
+ (click)="toggleSidebar()">
+ <cd-notifications></cd-notifications>
</div>
<div class="cds--btn cds--btn--icon-only cds--header__action">
<cd-dashboard-help></cd-dashboard-help>
FeatureTogglesMap$,
FeatureTogglesService
} from '~/app/shared/services/feature-toggles.service';
+import { NotificationService } from '~/app/shared/services/notification.service';
import { PrometheusAlertService } from '~/app/shared/services/prometheus-alert.service';
import { SummaryService } from '~/app/shared/services/summary.service';
currentClusterName: string;
constructor(
+ public notificationService: NotificationService,
private authStorageService: AuthStorageService,
private multiClusterService: MultiClusterService,
private router: Router,
}
);
}
-
+ toggleSidebar() {
+ this.notificationService.toggleSidebar();
+ }
trackByFn(item: any) {
return item;
}