From 6979b44592b1f0411af61c14ca49992a988d1fde Mon Sep 17 00:00:00 2001 From: Miguel Carvajal Date: Tue, 10 Mar 2020 11:24:23 +0100 Subject: [PATCH] Alerting: Fixed bad background color for default notifications in alert tab (#22660) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: remove harcoded bg color * added default info Co-authored-by: Torkel Ödegaard --- public/app/features/alerting/AlertTabCtrl.ts | 1 - public/app/features/alerting/partials/alert_tab.html | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/app/features/alerting/AlertTabCtrl.ts b/public/app/features/alerting/AlertTabCtrl.ts index 96b1cab5a70..9a0baf00b75 100644 --- a/public/app/features/alerting/AlertTabCtrl.ts +++ b/public/app/features/alerting/AlertTabCtrl.ts @@ -237,7 +237,6 @@ export class AlertTabCtrl { for (const notification of this.notifications) { if (notification.isDefault) { notification.iconClass = this.getNotificationIcon(notification.type); - notification.bgColor = '#00678b'; this.alertNotifications.push(notification); } } diff --git a/public/app/features/alerting/partials/alert_tab.html b/public/app/features/alerting/partials/alert_tab.html index 2e5e66c744a..5dddf12e41b 100644 --- a/public/app/features/alerting/partials/alert_tab.html +++ b/public/app/features/alerting/partials/alert_tab.html @@ -139,8 +139,9 @@ Send to
- -  {{nc.name}}  + + +  {{nc.name}} (default)