Skip to content

Commit

Permalink
Don't show "no result" banner if games are not loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
sitegui committed Jan 18, 2024
1 parent b4d26a9 commit 2a7706a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/SuggestView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ function addFavoriteGame(game: Game): void {
<q-spinner color="primary" size="5em" />
</div>

<div class="q-ma-md" v-if="suggestionResults">
<div class="q-ma-md" v-if="games.length && suggestionResults">
<q-banner class="bg-secondary text-white" v-if="!suggestionResults.length">
Aucun résultat n'a été trouvé. Essaye de changer les critères de la recherche
</q-banner>
Expand Down

0 comments on commit 2a7706a

Please sign in to comment.