mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
🚨
This commit is contained in:
parent
23ee2027a0
commit
11fd8f2c44
5 changed files with 14 additions and 13 deletions
|
|
@ -737,7 +737,7 @@ export class Files extends Model {
|
|||
}
|
||||
|
||||
private updateDocInfo(data: IWebSocketData) {
|
||||
const liElement = this.element.querySelector(`li[data-node-id="${data.data.rootID}"]`)
|
||||
const liElement = this.element.querySelector(`li[data-node-id="${data.data.rootID}"]`);
|
||||
if (liElement) {
|
||||
liElement.setAttribute("data-count", data.data.subFileCount);
|
||||
liElement.querySelector(".ariaLabel")?.setAttribute("aria-label", this.genDocAriaLabel(data.data, escapeGreat));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue