Prevent "Resting in the Inn" message when viewing challenges.

fixes #5559
This commit is contained in:
Kevin Barbour 2015-07-08 20:22:23 -04:00
parent 7dc64f8448
commit d6aef8ee24

View file

@ -19,7 +19,7 @@ script(id='templates/habitrpg-tasks.html', type="text/ng-template")
include ./task_view/add_new
alert.alert-warning.dailiesRestingInInn(ng-if='::list.type == "daily" && user.preferences.sleep')
alert.alert-warning.dailiesRestingInInn(ng-if='::list.type == "daily" && user.preferences.sleep &&!$state.includes("options.social.challenges")')
i.glyphicon.glyphicon-warning-sign  
=env.t('dailiesRestingInInn')