mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
🎨 支持按子文档数排序 Fix https://github.com/siyuan-note/siyuan/issues/6030
This commit is contained in:
parent
18ad07d2f4
commit
890d01a368
9 changed files with 56 additions and 17 deletions
|
|
@ -918,7 +918,7 @@ class="b3-list-item b3-list-item--hide-action" data-path="${item.path}">
|
|||
click: () => {
|
||||
clickEvent(1);
|
||||
}
|
||||
}, {type: "separator"}, {
|
||||
}, {
|
||||
icon: window.siyuan.config.fileTree.sort === 4 ? "iconSelect" : undefined,
|
||||
label: window.siyuan.languages.fileNameNatASC,
|
||||
click: () => {
|
||||
|
|
@ -978,6 +978,18 @@ class="b3-list-item b3-list-item--hide-action" data-path="${item.path}">
|
|||
click: () => {
|
||||
clickEvent(12);
|
||||
}
|
||||
}, {type: "separator"}, {
|
||||
icon: window.siyuan.config.fileTree.sort === 13 ? "iconSelect" : undefined,
|
||||
label: window.siyuan.languages.subDocCountASC,
|
||||
click: () => {
|
||||
clickEvent(13);
|
||||
}
|
||||
}, {
|
||||
icon: window.siyuan.config.fileTree.sort === 14 ? "iconSelect" : undefined,
|
||||
label: window.siyuan.languages.subDocCountDESC,
|
||||
click: () => {
|
||||
clickEvent(14);
|
||||
}
|
||||
}, {type: "separator"}, {
|
||||
icon: window.siyuan.config.fileTree.sort === 6 ? "iconSelect" : undefined,
|
||||
label: window.siyuan.languages.customSort,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue