mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-08-01 20:12:11 +00:00
reset time worked without break on startup
This commit is contained in:
parent
4c695355f1
commit
ef8194472f
1 changed files with 3 additions and 0 deletions
|
|
@ -137,6 +137,8 @@
|
|||
$rootScope.r.doneBacklogTasks = Tasks.getDoneBacklog();
|
||||
|
||||
$rootScope.r.currentSession = $localStorage.currentSession;
|
||||
// reset after for every start
|
||||
$rootScope.r.currentSession.timeWorkedWithoutBreak = undefined;
|
||||
|
||||
$rootScope.r.distractions = $localStorage.distractions;
|
||||
|
||||
|
|
@ -146,6 +148,7 @@
|
|||
|
||||
$rootScope.r.git = $localStorage.git;
|
||||
|
||||
|
||||
$rootScope.r.theme = $localStorage.theme || DEFAULT_THEME;
|
||||
|
||||
if ($rootScope.r.theme.indexOf('dark') > -1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue