mirror of
https://github.com/flarum/framework.git
synced 2025-02-20 22:30:41 +08:00
fix: dropdown show results search button hidden while loading results (#3431)
This commit is contained in:
parent
89b194034b
commit
a79e2c20fe
@ -130,7 +130,7 @@ export default class Search<T extends SearchAttrs = SearchAttrs> extends Compone
|
||||
const searchLabel = extractText(app.translator.trans('core.forum.header.search_placeholder'));
|
||||
|
||||
const isActive = !!currentSearch;
|
||||
const shouldShowResults = !!(!this.loadingSources && this.searchState.getValue() && this.hasFocus);
|
||||
const shouldShowResults = !!(this.searchState.getValue() && this.hasFocus);
|
||||
const shouldShowClearButton = !!(!this.loadingSources && this.searchState.getValue());
|
||||
|
||||
return (
|
||||
|
Loading…
x
Reference in New Issue
Block a user