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;
|
||||
};
|
||||
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);
|
||||
}
|
||||
const data2 = subDockToJSON(1);
|
||||
if (data2.length > 0) {
|
||||
json.push(data2);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue