mirror of
https://github.com/grafana/grafana.git
synced 2025-02-14 01:23:32 -06:00
refactor: minor refactoring of #10027
This commit is contained in:
parent
df693134bd
commit
d29c695d44
@ -259,16 +259,6 @@ export class DashboardModel {
|
||||
}
|
||||
}
|
||||
|
||||
// for (let panel of this.panels) {
|
||||
// if (panel.repeat) {
|
||||
// if (!cleanUpOnly) {
|
||||
// this.repeatPanel(panel);
|
||||
// }
|
||||
// } else if (panel.repeatPanelId && panel.repeatIteration !== this.iteration) {
|
||||
// panelsToRemove.push(panel);
|
||||
// }
|
||||
// }
|
||||
|
||||
// remove panels
|
||||
_.pull(this.panels, ...panelsToRemove);
|
||||
|
||||
@ -324,9 +314,6 @@ export class DashboardModel {
|
||||
return clone;
|
||||
}
|
||||
|
||||
getBottomYForRow() {
|
||||
}
|
||||
|
||||
repeatPanel(panel: PanelModel, panelIndex: number) {
|
||||
let variable = _.find(this.templating.list, {name: panel.repeat});
|
||||
if (!variable) {
|
||||
|
Loading…
Reference in New Issue
Block a user