grr edit dupes

master
Bel LaPointe 2024-08-04 11:44:22 -06:00
parent 50ea3258b7
commit 2425f22b56
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ impl DB {
for task in &edited.tasks.0 { for task in &edited.tasks.0 {
if task.is_due() { if task.is_due() {
now_due.push(task.clone()); now_due.push(task.clone());
} else { } else if !not_due.tasks.0.contains(task) {
not_due.tasks.0.push(task.clone()); not_due.tasks.0.push(task.clone());
} }
} }