Add notifications to prodcution
This commit is contained in:
parent
34fe82e26b
commit
a2281dca42
|
@ -25,7 +25,7 @@
|
|||
[centered]="true" [properties]="properties" [showMenuItems]="true"></bottom>
|
||||
<role-verification *ngIf="stakeholder"
|
||||
[id]="stakeholder.alias" [name]="stakeholder.name" [type]="stakeholder.type"></role-verification>
|
||||
<notification-sidebar *ngIf="properties.environment !== 'production' && user && notificationGroupsInitialized"
|
||||
<notification-sidebar *ngIf="user && notificationGroupsInitialized"
|
||||
[user]="user" [availableGroups]="notificationGroups" service="monitor"></notification-sidebar>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -180,7 +180,7 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||
this.user = user;
|
||||
if (user) {
|
||||
this.buildMenu();
|
||||
if(!this.notificationGroupsInitialized && this.properties.environment !== 'production') {
|
||||
if(!this.notificationGroupsInitialized) {
|
||||
this.setNotificationGroups();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 0ec7b820ee4fef91eeac7553539482a8a7fbaf94
|
||||
Subproject commit 25ea02d4a043aa5ca2053b17ef32ed497c1a49ec
|
|
@ -10,7 +10,7 @@
|
|||
</ul>
|
||||
</ng-template>
|
||||
<role-users *ngIf="!loading && alias" [id]="alias" [type]="type" [name]="name" [link]="link" [role]="tab" [message]="messages.get(tab)"
|
||||
[emailComposer]="emailComposer" [notificationFn]="(properties.environment !== 'production')?notificationFn:null">
|
||||
[emailComposer]="emailComposer" [notificationFn]="notificationFn">
|
||||
<ng-container [ngTemplateOutlet]="tabs"></ng-container>
|
||||
</role-users>
|
||||
|
||||
|
|
Loading…
Reference in New Issue