NavModel: Fixed page header ui tabs issues for some admin pages (#17444)

This commit is contained in:
Torkel Ödegaard
2019-06-05 15:18:31 +02:00
committed by GitHub
parent dd52ff5ac5
commit ad744beb60
9 changed files with 9 additions and 9 deletions

View File

@@ -32,7 +32,7 @@ export class AlertNotificationEditCtrl {
private $templateCache: any,
navModelSrv: NavModelSrv
) {
this.navModel = navModelSrv.getNav('alerting', 'channels');
this.navModel = navModelSrv.getNav('alerting', 'channels', 0);
this.isNew = !this.$routeParams.id;
this.getFrequencySuggestion = () => {

View File

@@ -8,7 +8,7 @@ export class AlertNotificationsListCtrl {
/** @ngInject */
constructor(private backendSrv: BackendSrv, navModelSrv: NavModelSrv) {
this.loadNotifications();
this.navModel = navModelSrv.getNav('alerting', 'channels');
this.navModel = navModelSrv.getNav('alerting', 'channels', 0);
}
loadNotifications() {