File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -231,6 +231,13 @@ export function DashboardLayout({
231231 log . debug ( 'handleLayoutStateChanged' , hasChanged , dehydratedLayoutConfig ) ;
232232
233233 if ( hasChanged ) {
234+ log . debug (
235+ 'Layout config has changed' ,
236+ 'lastConfig' ,
237+ lastConfig ,
238+ 'dehydratedLayoutConfig' ,
239+ dehydratedLayoutConfig
240+ ) ;
234241 setIsDashboardEmpty ( layout . root . contentItems . length === 0 ) ;
235242
236243 setLastConfig ( dehydratedLayoutConfig ) ;
@@ -328,6 +335,15 @@ export function DashboardLayout({
328335 previousLayoutConfig !== layoutConfig &&
329336 layoutConfig !== lastConfig
330337 ) {
338+ log . debug (
339+ 'loadNewConfig effect triggered. previousLayoutConfig' ,
340+ previousLayoutConfig ,
341+ 'layoutConfig' ,
342+ layoutConfig ,
343+ 'lastConfig' ,
344+ lastConfig
345+ ) ;
346+
331347 log . debug ( 'Setting new layout content...' ) ;
332348 const content = LayoutUtils . hydrateLayoutConfig (
333349 layoutConfig ,
You can’t perform that action at this time.
0 commit comments