Skip to content

Commit

Permalink
fix(SearchBox): always show top-searches menu
Browse files Browse the repository at this point in the history
closed: #870 #1027
  • Loading branch information
Rhilip committed Mar 25, 2022
1 parent 2690cae commit 2deaaad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/options/components/SearchBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
class="top-searches"
nudge-bottom="8"
nudge-left="12"
v-if="topSearches.length > 0"
>
<v-btn slot="activator" flat small color="grey lighten-2">{{
$t("common.hot")
Expand All @@ -34,7 +33,8 @@
"
>
<v-container fluid grid-list-lg class="pa-3">
<v-layout row wrap>
<div v-if="topSearches.length == 0"> {{ $t('common.loading') }} </div>
<v-layout v-else row wrap>
<v-flex v-for="(item, index) in topSearches" :key="index" xs4>
<v-card
@click="searchHotItem(item)"
Expand Down

0 comments on commit 2deaaad

Please sign in to comment.