Merge pull request #64 from schrom01/fix_tasklist-not-updated_M3
fix: Properly saving tasks
This commit is contained in:
commit
2312149256
|
@ -106,6 +106,7 @@ public class JsonTaskList implements TaskList {
|
|||
if(task.getId() == 0) {
|
||||
task.withId(idProvider.incrementAndGet());
|
||||
}
|
||||
taskMap.put(task.getId(), task);
|
||||
writeTaskListToFile();
|
||||
}
|
||||
|
||||
|
|
|
@ -184,15 +184,14 @@
|
|||
"litersPerSqM": 15,
|
||||
"interval": 4,
|
||||
"notes": [
|
||||
|
||||
]
|
||||
},
|
||||
"taskTemplates": [
|
||||
{
|
||||
"name": "hilling",
|
||||
"name": "Plant Sets",
|
||||
"relativeStartDate": 0,
|
||||
"relativeEndDate": 0,
|
||||
"description": "Mound up the soil around the plant until just the top few leaves show above the soil. ",
|
||||
"description": "Plant the sets about 5cm deep into the soil.",
|
||||
"interval": null,
|
||||
"isOptional": false
|
||||
}
|
||||
|
@ -232,7 +231,6 @@
|
|||
"litersPerSqM": 0,
|
||||
"interval": null,
|
||||
"notes": [
|
||||
|
||||
]
|
||||
},
|
||||
"taskTemplates": [
|
||||
|
|
Loading…
Reference in New Issue