mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
fix time estimation for task list
This commit is contained in:
parent
9a9ac8e3f2
commit
2ade993f67
2 changed files with 5 additions and 6 deletions
|
|
@ -59,11 +59,6 @@
|
|||
vm.newTask = '';
|
||||
};
|
||||
|
||||
vm.estimateTime = (task) => {
|
||||
Dialogs('TIME_ESTIMATE', {task});
|
||||
|
||||
};
|
||||
|
||||
vm.done = () => {
|
||||
Dialogs('TASK_SELECTION', {tasks: vm.tasks})
|
||||
.then(() => {
|
||||
|
|
|
|||
|
|
@ -27,8 +27,12 @@
|
|||
}
|
||||
|
||||
/* @ngInject */
|
||||
function TaskListCtrl() {
|
||||
function TaskListCtrl(Dialogs) {
|
||||
let vm = this;
|
||||
|
||||
vm.estimateTime = (task) => {
|
||||
Dialogs('TIME_ESTIMATE', {task});
|
||||
};
|
||||
}
|
||||
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue