mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
This commit is contained in:
parent
b32ec745e7
commit
929af3255a
1 changed files with 3 additions and 2 deletions
|
|
@ -115,10 +115,11 @@ const dockToJSON = (dock: Dock) => {
|
||||||
return data;
|
return data;
|
||||||
};
|
};
|
||||||
const data0 = subDockToJSON(0);
|
const data0 = subDockToJSON(0);
|
||||||
if (data0.length > 0) {
|
const data2 = subDockToJSON(1);
|
||||||
|
if (data0.length > 0 || data2.length > 0) {
|
||||||
|
// https://github.com/siyuan-note/siyuan/issues/5641
|
||||||
json.push(data0);
|
json.push(data0);
|
||||||
}
|
}
|
||||||
const data2 = subDockToJSON(1);
|
|
||||||
if (data2.length > 0) {
|
if (data2.length > 0) {
|
||||||
json.push(data2);
|
json.push(data2);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue