mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-28 18:20:42 +00:00
minor fixes
This commit is contained in:
parent
4222c02290
commit
a082e5eb65
2 changed files with 5 additions and 3 deletions
|
|
@ -167,7 +167,9 @@
|
|||
/* @ngInject */
|
||||
function initPollGitTaskUpdates($localStorage, Git, $interval, GIT_UPDATE_POLL_INTERVAL) {
|
||||
// one initial
|
||||
Git.checkAndUpdateTasks($localStorage.tasks);
|
||||
if ($localStorage.git.projectDir && $localStorage.git.repo) {
|
||||
Git.checkAndUpdateTasks($localStorage.tasks);
|
||||
}
|
||||
|
||||
$interval(() => {
|
||||
if ($localStorage.git.projectDir && $localStorage.git.repo) {
|
||||
|
|
@ -178,7 +180,7 @@
|
|||
|
||||
/* @ngInject */
|
||||
function showWelcomeDialog($localStorage, Dialogs) {
|
||||
if ($localStorage.isShowWelcomeDialog) {
|
||||
if ($localStorage.uiHelper.isShowWelcomeDialog) {
|
||||
Dialogs('WELCOME', undefined, true);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
'isShowWelcomeDialog'
|
||||
])
|
||||
.constant('LS_DEFAULTS', {
|
||||
isShowWelcomeDialog: true,
|
||||
note: undefined,
|
||||
theme: undefined,
|
||||
currentTask: undefined,
|
||||
|
|
@ -64,6 +63,7 @@
|
|||
},
|
||||
// non setting variables which are simply saved where they are entered
|
||||
uiHelper: {
|
||||
isShowWelcomeDialog: true,
|
||||
dailyTaskExportSettings: {
|
||||
separateBy: ', ',
|
||||
separateFieldsBy: '',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue