fix time estimation for task list

This commit is contained in:
Johannes Millan 2016-12-31 18:19:57 +01:00
parent 9a9ac8e3f2
commit 2ade993f67
2 changed files with 5 additions and 6 deletions

View file

@ -59,11 +59,6 @@
vm.newTask = '';
};
vm.estimateTime = (task) => {
Dialogs('TIME_ESTIMATE', {task});
};
vm.done = () => {
Dialogs('TASK_SELECTION', {tasks: vm.tasks})
.then(() => {

View file

@ -27,8 +27,12 @@
}
/* @ngInject */
function TaskListCtrl() {
function TaskListCtrl(Dialogs) {
let vm = this;
vm.estimateTime = (task) => {
Dialogs('TIME_ESTIMATE', {task});
};
}
})();