Commit 54f06503 by Alexander Zobnin Committed by Torkel Ödegaard

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

parent f534ea05
...@@ -238,6 +238,9 @@ export class DashboardModel { ...@@ -238,6 +238,9 @@ export class DashboardModel {
delete newPanel.repeatIteration; delete newPanel.repeatIteration;
delete newPanel.repeatPanelId; delete newPanel.repeatPanelId;
delete newPanel.scopedVars; delete newPanel.scopedVars;
if (newPanel.alert) {
delete newPanel.thresholds;
}
delete newPanel.alert; delete newPanel.alert;
row.addPanel(newPanel); row.addPanel(newPanel);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment