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

@@ -686,7 +686,6 @@ System.register(['lodash', 'jquery', 'moment', '../datasource-zabbix/utils', 'ap
}, {
key: 'getBackground',
value: function getBackground(trigger) {
// console.log(trigger.color, this.contextSrv.user.lightTheme);
var mainColor = trigger.color;
var secondColor = this.contextSrv.user.lightTheme ? '#dde4ed' : '#262628';
if (this.contextSrv.user.lightTheme) {

File diff suppressed because one or more lines are too long