Allow dashboard to restore state (either saved state or from backend). Restore old state on edition cancel

This commit is contained in:
Stephen Abello
2026-01-15 11:51:49 +01:00
parent 27c16a782c
commit 5cfe7fa6eb
4 changed files with 85 additions and 99 deletions

View File

@@ -39,7 +39,7 @@ class IboGridSlot extends HTMLElement {
return oSlot;
}
Serialize() {
Serialize(bIncludeHtml = false) {
const oDashlet = this.oDashlet;
const aSlotData = {
@@ -49,7 +49,7 @@ class IboGridSlot extends HTMLElement {
height: this.iHeight
};
const aDashletData = oDashlet ? oDashlet.Serialize() : {};
const aDashletData = oDashlet ? oDashlet.Serialize(bIncludeHtml) : {};
return {
...aSlotData,