Skip to content

Commit

Permalink
fix vue warnings (#4797)
Browse files Browse the repository at this point in the history
Co-authored-by: Harouna Traoré <[email protected]>
  • Loading branch information
haroun and haroun authored Nov 11, 2024
1 parent a39c14c commit b49344a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ export default {
.filter(removeSelectedItem)
.map(formatItems);

this.searchSuggestion = !qs.autocomplete && this.suggestion;
this.searchHint = (!qs.autocomplete || !results.length) && this.hint;
this.searchSuggestion = !qs.autocomplete ? this.suggestion : null;
this.searchHint = (!qs.autocomplete || !results.length) ? this.hint : null;
this.searchList = [ ...results ].filter(Boolean);
this.searching = false;
},
Expand Down

0 comments on commit b49344a

Please sign in to comment.