Skip to content

Commit b089982

Browse files
committed
🎨 #16099
1 parent 7528699 commit b089982

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

app/src/mobile/dock/MobileTags.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {MenuItem} from "../../menus/Menu";
55
import {popSearch} from "../menu/search";
66
import {App} from "../../index";
77
import {openTagMenu} from "../../menus/tag";
8+
import {Constants} from "../../constants";
89

910
export class MobileTags {
1011
public element: HTMLElement;
@@ -128,13 +129,15 @@ export class MobileTags {
128129
target = target.parentElement;
129130
}
130131
});
131-
this.update();
132+
this.update(false);
132133
}
133134

134-
public update() {
135+
public update(ignoreMaxListHint = true) {
135136
this.element.lastElementChild.classList.remove("fn__none");
136137
fetchPost("/api/tag/getTag", {
137-
sort: window.siyuan.config.tag.sort
138+
sort: window.siyuan.config.tag.sort,
139+
app: Constants.SIYUAN_APPID,
140+
ignoreMaxListHint,
138141
}, response => {
139142
if (this.openNodes) {
140143
this.openNodes = this.tree.getExpandIds();

0 commit comments

Comments
 (0)