diff --git a/domains/grid/utils/compareGridWidgets.ts b/domains/grid/utils/compareGridWidgets.ts index f2ed869b..a5d430a8 100644 --- a/domains/grid/utils/compareGridWidgets.ts +++ b/domains/grid/utils/compareGridWidgets.ts @@ -49,5 +49,9 @@ export const compareGridWidgets = ( } } + if (gridLog.enabled && result.length > 0) { + gridLog('Unsaved widget changes', toRaw(result)) + } + return result } diff --git a/domains/grid/utils/compareGrids.ts b/domains/grid/utils/compareGrids.ts index 85891b2b..c30eb23a 100644 --- a/domains/grid/utils/compareGrids.ts +++ b/domains/grid/utils/compareGrids.ts @@ -28,5 +28,9 @@ export const compareGrids = (gridA: Grid[], gridB: Grid[]): GridChange[] => { } } + if (gridLog.enabled && result.length > 0) { + gridLog('Unsaved grid changes', toRaw(result)) + } + return result }