SinglestatPanel: Manages when getColorForValue() function returns null value. Closes #9747 (#17552)

This commit is contained in:
Daniele Ruggieri 2019-06-13 20:00:13 +02:00 committed by Torkel Ödegaard
parent 1b1d951495
commit 74829f4898

View File

@ -610,6 +610,9 @@ class SingleStatCtrl extends MetricsPanelCtrl {
} else {
elem.css('background-color', '');
}
} else {
$panelContainer.css('background-color', '');
elem.css('background-color', '');
}
} else {
$panelContainer.css('background-color', '');