mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-14 07:52:15 +00:00
Fixed challenge achievement always displaying
Challenge achievement will now only display if the user has won 1 or more challenges.
This commit is contained in:
parent
93fcc8e71b
commit
e16c1c2ec3
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ div(ng-if=':: profile.achievements.originalUser')
|
|||
small!=env.t('originalUserText')
|
||||
hr
|
||||
|
||||
div(ng-if='profile.achievements.challenges.length || user._id == profile._id')
|
||||
div(ng-if='profile.achievements.challenges.length')
|
||||
// This is a very strange icon to use. revisit
|
||||
.achievement.achievement-karaoke(ng-show='profile.achievements.challenges')
|
||||
div(ng-class='{muted: !profile.achievements.challenges}')
|
||||
|
|
|
|||
Loading…
Reference in a new issue