mirror of https://github.com/grafana/grafana.git
Clear parent when merging default grid
CodeQL checks / Detect whether code changed (push) Waiting to run
Details
CodeQL checks / Analyze (actions) (push) Blocked by required conditions
Details
CodeQL checks / Analyze (go) (push) Blocked by required conditions
Details
CodeQL checks / Analyze (javascript) (push) Blocked by required conditions
Details
CodeQL checks / Detect whether code changed (push) Waiting to run
Details
CodeQL checks / Analyze (actions) (push) Blocked by required conditions
Details
CodeQL checks / Analyze (go) (push) Blocked by required conditions
Details
CodeQL checks / Analyze (javascript) (push) Blocked by required conditions
Details
This commit is contained in:
parent
6c588365ea
commit
0115831454
|
@ -116,6 +116,9 @@ export class DefaultGridLayoutManager
|
|||
|
||||
// Remove from source and append to destination
|
||||
sourceGrid.setState({ children: [] });
|
||||
for (const child of movedChildren) {
|
||||
child.clearParent();
|
||||
}
|
||||
this.state.grid.setState({ children: [...this.state.grid.state.children, ...movedChildren] });
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue