mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
🎨 dropCurrentLayout
This commit is contained in:
parent
68af8463db
commit
8f2144b9df
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ export const processMessage = (response: IWebSocketData) => {
|
|||
/// #if MOBILE
|
||||
window.location.reload();
|
||||
/// #else
|
||||
if (response.data.dropCurrentLayout) {
|
||||
if (response.data?.dropCurrentLayout) {
|
||||
window.location.reload();
|
||||
} else {
|
||||
exportLayout(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue