grr edit dupes
This commit is contained in:
@@ -161,7 +161,7 @@ impl DB {
|
||||
for task in &edited.tasks.0 {
|
||||
if task.is_due() {
|
||||
now_due.push(task.clone());
|
||||
} else {
|
||||
} else if !not_due.tasks.0.contains(task) {
|
||||
not_due.tasks.0.push(task.clone());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user