We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f780eff commit cf950a4Copy full SHA for cf950a4
app-src/scripts/main/global-services/tasks-s.js
@@ -140,6 +140,10 @@
140
return this.$rootScope.r.lastCurrentTask;
141
}
142
143
+ setLastCurrent(task) {
144
+ this.$rootScope.r.lastCurrentTask = task;
145
+ }
146
+
147
// NOTE: doneBacklogTasks can't be really updated when accessed withthis
148
getById(taskId) {
149
const doneBacklogTasks = this.getDoneBacklog();
app-src/scripts/pomodoro-button/pomodoro-button-s.js
@@ -112,6 +112,9 @@
112
stop() {
113
this.data.status = MANUAL_PAUSE;
114
this.$interval.cancel(this.timer);
115
116
+ // unset last focused task
117
+ this.Tasks.setLastCurrent(undefined);
118
this.initSession();
119
120
0 commit comments