mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
🚨
This commit is contained in:
parent
f1bdb4dcfd
commit
82eafca96d
10 changed files with 14 additions and 14 deletions
|
|
@ -74,7 +74,7 @@ export class Tree {
|
|||
if (item.count) {
|
||||
countHTML = `<span class="counter">${item.count}</span>`;
|
||||
}
|
||||
const hasChild = (item.children && item.children.length > 0) || (item.blocks && item.blocks.length > 0)
|
||||
const hasChild = (item.children && item.children.length > 0) || (item.blocks && item.blocks.length > 0);
|
||||
html += `<li class="b3-list-item"
|
||||
${(item.nodeType !== "NodeDocument" && item.type === "backlink") ? 'draggable="true"' : ""}
|
||||
${item.id ? 'data-node-id="' + item.id + '"' : ""}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue