mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
No matching Guilds/Challenges message (#10744)
* Display message on My Guilds page when filters dont' match anything * Display message on Discover Guilds page when filters dont' match anything * Display message on My Challenges page when filters dont' match anything * Display message on Discover Challenges page when filters dont' match anything * Don't show Load More button when there is nothing to load * Fix Guild search Previously was not possible to clear after searching
This commit is contained in:
committed by
Matteo Pagliazzi
parent
fd8572c28a
commit
eee5f2f1df
@@ -23,6 +23,10 @@
|
||||
p(v-once) {{$t('challengeDescription1')}}
|
||||
p(v-once) {{$t('challengeDescription2')}}
|
||||
|
||||
.row
|
||||
.no-challenges.text-center.col-md-6.offset-3(v-if='!loading && challenges.length > 0 && filteredChallenges.length === 0')
|
||||
h2(v-once) {{$t('noChallengeMatchFilters')}}
|
||||
|
||||
.row
|
||||
.col-12.col-md-6(v-for='challenge in filteredChallenges')
|
||||
challenge-item(:challenge='challenge')
|
||||
|
||||
Reference in New Issue
Block a user