Add check to ensure obj is not user (#8373)

This commit is contained in:
Keith Holliday 2017-01-06 10:23:39 -06:00 committed by GitHub
parent e4bd466cc7
commit c707b6c99b

View file

@ -20,7 +20,7 @@
// Icons only available if you own the tasks (aka, hidden from challenge stats)
span(ng-if='!obj._locked')
group-task-meta-actions(ng-if="obj.purchased && obj.purchased.plan && obj.purchased.plan.customerId", task='task', group='obj')
group-task-meta-actions(ng-if="!obj.auth && obj.purchased && obj.purchased.plan && obj.purchased.plan.customerId", task='task', group='obj')
a(ng-click='pushTask(task,$index,"top")', tooltip=env.t('pushTaskToTop'), ng-class="{'push-down': ctrlPressed}")
span(ng-hide="ctrlPressed").glyphicon.glyphicon-open