mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/tags: don't flash progress for tag autocomplete
This commit is contained in:
@ -78,7 +78,8 @@ class TagListController {
|
||||
this._ctx.parameters.query,
|
||||
offset,
|
||||
limit,
|
||||
fields
|
||||
fields,
|
||||
{}
|
||||
);
|
||||
},
|
||||
pageRenderer: (pageCtx) => {
|
||||
|
@ -64,7 +64,8 @@ class TagAutoCompleteControl extends AutoCompleteControl {
|
||||
"names",
|
||||
"category",
|
||||
"usages",
|
||||
]).then(
|
||||
],
|
||||
{ noProgress: true }).then(
|
||||
(response) =>
|
||||
resolve(
|
||||
_tagListToMatches(response.results, this._options, negated)
|
||||
|
@ -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(
|
||||
|
Reference in New Issue
Block a user