Harmonize review page properties between front and back ends
This commit is contained in:
parent
b09725726c
commit
5451c297c2
5 changed files with 19 additions and 13 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue