Remove alert thresholds on panel duplicate, issue #9178 (#9257)

This commit is contained in:
Alexander Zobnin 2017-09-15 14:34:31 +03:00 committed by Torkel Ödegaard
parent f534ea057c
commit 54f0650321

View File

@ -238,6 +238,9 @@ export class DashboardModel {
delete newPanel.repeatIteration;
delete newPanel.repeatPanelId;
delete newPanel.scopedVars;
if (newPanel.alert) {
delete newPanel.thresholds;
}
delete newPanel.alert;
row.addPanel(newPanel);