mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 23:42:12 +00:00
Added editTask function back
This commit is contained in:
parent
838c912906
commit
caec2d8476
1 changed files with 3 additions and 1 deletions
|
|
@ -49,6 +49,8 @@ habitrpg.controller("ChallengesCtrl", ['$rootScope','$scope', 'Shared', 'User',
|
|||
});
|
||||
};
|
||||
|
||||
$scope.editTask = Tasks.editTask;
|
||||
|
||||
/**
|
||||
* Create
|
||||
*/
|
||||
|
|
@ -98,7 +100,7 @@ habitrpg.controller("ChallengesCtrl", ['$rootScope','$scope', 'Shared', 'User',
|
|||
todo: [],
|
||||
reward: []
|
||||
};
|
||||
|
||||
|
||||
Tasks.cloneTasks(challenge.habits, clonedTasks);
|
||||
Tasks.cloneTasks(challenge.dailys, clonedTasks);
|
||||
Tasks.cloneTasks(challenge.todos, clonedTasks);
|
||||
|
|
|
|||
Loading…
Reference in a new issue