Harmonize review page properties between front and back ends

This commit is contained in:
Eli Ribble 2026-04-14 23:29:29 +00:00
parent b09725726c
commit 5451c297c2
No known key found for this signature in database
5 changed files with 19 additions and 13 deletions

View file

@ -20,7 +20,7 @@ export const useReviewTaskStore = defineStore("review-task", () => {
function all(): ReviewTask[] {
return Array.from(_byID.value.values());
}
function byID(id: number) {
function byID(id: number): ReviewTask | undefined {
return _byID.value.get(id);
}
async function fetchAll(): Promise<void> {