|
@@ -23,7 +23,7 @@ export const processMessage = (response: IWebSocketData) => {
|
|
/// #if MOBILE
|
|
/// #if MOBILE
|
|
window.location.reload();
|
|
window.location.reload();
|
|
/// #else
|
|
/// #else
|
|
- if (response.data.dropCurrentLayout) {
|
|
|
|
|
|
+ if (response.data?.dropCurrentLayout) {
|
|
window.location.reload();
|
|
window.location.reload();
|
|
} else {
|
|
} else {
|
|
exportLayout(true);
|
|
exportLayout(true);
|