mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-13 17:52:22 +00:00
Add check to ensure obj is not user (#8373)
This commit is contained in:
parent
e4bd466cc7
commit
c707b6c99b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue