triggers panel: minor refactor

This commit is contained in:
Alexander Zobnin
2018-03-23 16:09:24 +03:00
parent e09bbe125b
commit 01927ec4ad
8 changed files with 3 additions and 26 deletions

View File

@@ -532,7 +532,6 @@ export class TriggerPanelCtrl extends PanelCtrl {
}
getBackground(trigger) {
// console.log(trigger.color, this.contextSrv.user.lightTheme);
const mainColor = trigger.color;
const secondColor = this.contextSrv.user.lightTheme ? '#dde4ed' : '#262628';
if (this.contextSrv.user.lightTheme) {