mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-21 11:14:14 +00:00
Added delete for saved challenge task
This commit is contained in:
parent
bb0be9a626
commit
1187d77ba5
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@
|
|||
span.glyphicon.glyphicon-bullhorn(tooltip=env.t('challenge'))
|
||||
|
|
||||
// delete
|
||||
a(ng-if='!task.challenge.id', ng-click='removeTask(task, obj)', tooltip=env.t('delete'))
|
||||
a(ng-if='!task.challenge.id || obj.leader._id === User.user._id', ng-click='removeTask(task, obj)', tooltip=env.t('delete'))
|
||||
span.glyphicon.glyphicon-trash
|
||||
|
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue