client/tags: don't flash progress for tag autocomplete

This commit is contained in:
Eva
2024-03-23 16:28:22 +01:00
parent 7eff539df5
commit 01f7f6eabb
3 changed files with 7 additions and 4 deletions

View File

@ -78,7 +78,8 @@ class TagListController {
this._ctx.parameters.query,
offset,
limit,
fields
fields,
{}
);
},
pageRenderer: (pageCtx) => {

View File

@ -64,7 +64,8 @@ class TagAutoCompleteControl extends AutoCompleteControl {
"names",
"category",
"usages",
]).then(
],
{ noProgress: true }).then(
(response) =>
resolve(
_tagListToMatches(response.results, this._options, negated)

View File

@ -6,7 +6,7 @@ const AbstractList = require("./abstract_list.js");
const Tag = require("./tag.js");
class TagList extends AbstractList {
static search(text, offset, limit, fields) {
static search(text, offset, limit, fields, options) {
return api
.get(
uri.formatApiLink("tags", {
@ -14,7 +14,8 @@ class TagList extends AbstractList {
offset: offset,
limit: limit,
fields: fields.join(","),
})
}),
options
)
.then((response) => {
return Promise.resolve(