Skip to content

Commit

Permalink
chore: add forgotten if
Browse files Browse the repository at this point in the history
  • Loading branch information
annacv committed Oct 26, 2023
1 parent cceca35 commit 0afd27a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/my-history/custom-my-history.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@

<div class="x-flex x-flex-col x-gap-2">
<p>{{ suggestion.query }}</p>
<p class="x-text1-sm x-text-lead-50 x-line-clamp-1">
<p
v-if="suggestion.selectedFilters.length > 0"
class="x-text1-sm x-text-lead-50 x-line-clamp-1"
>
<span v-for="filter in suggestion.selectedFilters" :key="filter.id" class="x-pr-8">
{{ filter.label ?? filter.id }}
</span>
Expand Down

0 comments on commit 0afd27a

Please sign in to comment.