File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import {MenuItem} from "../../menus/Menu";
55import { popSearch } from "../menu/search" ;
66import { App } from "../../index" ;
77import { openTagMenu } from "../../menus/tag" ;
8+ import { Constants } from "../../constants" ;
89
910export 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 ( ) ;
You can’t perform that action at this time.
0 commit comments