Commit 2eeba9da by Torkel Ödegaard

Updated alert tab layout & markup

parent 168b8c38
...@@ -115,7 +115,7 @@ export class AlertTabCtrl { ...@@ -115,7 +115,7 @@ export class AlertTabCtrl {
} }
getNotifications() { getNotifications() {
return Promise.resolve( return this.$q.when(
this.notifications.map(item => { this.notifications.map(item => {
return this.uiSegmentSrv.newSegment(item.name); return this.uiSegmentSrv.newSegment(item.name);
}) })
...@@ -148,6 +148,7 @@ export class AlertTabCtrl { ...@@ -148,6 +148,7 @@ export class AlertTabCtrl {
// reset plus button // reset plus button
this.addNotificationSegment.value = this.uiSegmentSrv.newPlusButton().value; this.addNotificationSegment.value = this.uiSegmentSrv.newPlusButton().value;
this.addNotificationSegment.html = this.uiSegmentSrv.newPlusButton().html; this.addNotificationSegment.html = this.uiSegmentSrv.newPlusButton().html;
this.addNotificationSegment.fake = true;
} }
removeNotification(index) { removeNotification(index) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment