Backend: Merge master into the backend branch (#845)
* CI: fix shellcheck issues (#789) Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com> * annotations: fix options in grafana 6.x, fix #813 * fix function editor in Grafana 6.4, closes #810 * add typings for grafana packages * Add $__range_series variable for calculating function over the whole series, #531 * fix tests * Don't set alert styles for react panels, fix #823 * docs: add range variables * docs: percentile reference * fix codespell Co-authored-by: Mario Trangoni <mario@mariotrangoni.de> Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
This commit is contained in:
committed by
Alexander Zobnin
parent
b4b0c5b8f4
commit
c300debe35
@@ -32,7 +32,8 @@ export class ZabbixAlertingService {
|
||||
});
|
||||
}
|
||||
|
||||
if (panelIndex >= 0) {
|
||||
// Don't apply alert styles to .panel-container--absolute (it rewrites position from absolute to relative)
|
||||
if (panelIndex >= 0 && !panelContainers[panelIndex].className.includes('panel-container--absolute')) {
|
||||
let alertClass = "panel-has-alert panel-alert-state--ok panel-alert-state--alerting";
|
||||
$(panelContainers[panelIndex]).removeClass(alertClass);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user