inhibit grade updates on just submitted work

This commit is contained in:
ゆめ 2023-09-16 22:48:33 -05:00
parent fc21f4b0f1
commit 8142e8161e

View file

@ -50,7 +50,7 @@ impl Grading {
if old.last_updated() < new.last_updated() { if old.last_updated() < new.last_updated() {
updates.push(new); updates.push(new);
} }
} else { } else if new.last_updated().is_some() {
updates.push(new); updates.push(new);
} }
} }