grr edit dupes

This commit is contained in:
Bel LaPointe
2024-08-04 11:44:22 -06:00
parent 50ea3258b7
commit 2425f22b56

View File

@@ -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());
}
}