mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 23:42:12 +00:00
Greyed-out challenges achievement
This commit is contained in:
parent
e16c1c2ec3
commit
f9eef5c497
1 changed files with 3 additions and 3 deletions
|
|
@ -144,10 +144,10 @@ div(ng-if=':: profile.achievements.originalUser')
|
|||
small!=env.t('originalUserText')
|
||||
hr
|
||||
|
||||
div(ng-if='profile.achievements.challenges.length')
|
||||
div(ng-if='profile.achievements.challenges || user._id == profile_id')
|
||||
// This is a very strange icon to use. revisit
|
||||
.achievement.achievement-karaoke(ng-show='profile.achievements.challenges')
|
||||
div(ng-class='{muted: !profile.achievements.challenges}')
|
||||
.achievement.achievement-karaoke(ng-show='profile.achievements.challenges.length')
|
||||
div(ng-class='{muted: !profile.achievements.challenges.length}')
|
||||
h5=env.t('challengeWinner')
|
||||
table.table.table-striped
|
||||
tr(ng-repeat='chal in profile.achievements.challenges track by $index')
|
||||
|
|
|
|||
Loading…
Reference in a new issue