Change server url (#111)
closes #103 Reviewed-on: #111
This commit was merged in pull request #111.
This commit is contained in:
@@ -36,7 +36,7 @@ export class AllowancePage implements ViewWillEnter {
|
||||
allowance[0].name = 'Main Allowance';
|
||||
this.allowance$.next(allowance);
|
||||
})
|
||||
}, 20);
|
||||
}, 50);
|
||||
}
|
||||
|
||||
canFinishGoal(allowance: Allowance): boolean {
|
||||
@@ -57,6 +57,9 @@ export class AllowancePage implements ViewWillEnter {
|
||||
for (let allowance of allowanceList) {
|
||||
allowanceTotal += allowance.progress;
|
||||
}
|
||||
if (allowanceTotal === 0) {
|
||||
return 0;
|
||||
}
|
||||
return goal.progress / allowanceTotal * 100;
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ export class TasksPage implements ViewWillEnter {
|
||||
this.taskService.getTaskList().subscribe(tasks => {
|
||||
this.tasks$.next(tasks);
|
||||
});
|
||||
}, 10);
|
||||
}, 50);
|
||||
}
|
||||
|
||||
createTask() {
|
||||
|
||||
Reference in New Issue
Block a user