[v9.2.x] Canvas: Inconsistent save behavior (#61012)

Canvas: Save element placement (#61007)

(cherry picked from commit 88a8cba6b0)

Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2023-01-09 11:09:31 -05:00
committed by GitHub
co-authored by Adela Almasan
parent 921cdb0d4b
commit 586908a43f
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2022 Grafana Labs
// Copyright 2023 Grafana Labs
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -285,6 +285,8 @@ export class ElementState implements LayerElement {
this.applyLayoutStylesToDiv();
this.revId++;
this.getScene()?.save();
}
updateData(ctx: DimensionContext) {