feat(web): render tv lanes in attention queues
This commit is contained in:
+7
-6
@@ -78,13 +78,14 @@ export async function allowEnglishAudio(movieId: number): Promise<AllowEnglishOu
|
||||
return { kind: "done", searchQueued: true };
|
||||
}
|
||||
|
||||
/** Entries across both queues — the rail badge's number.
|
||||
*
|
||||
* Deliberately movies only for now: the TV lanes are new and the QUEUES
|
||||
* deck does not render them yet (the backend landed in issue 126).
|
||||
*/
|
||||
/** Entries across all four lanes — the rail badge's number. */
|
||||
export function attentionTotal(queues: AttentionQueues): number {
|
||||
return queues.no_pt_source.length + queues.needs_decision.length;
|
||||
return (
|
||||
queues.no_pt_source.length +
|
||||
queues.needs_decision.length +
|
||||
queues.tv_no_pt_source.length +
|
||||
queues.tv_needs_decision.length
|
||||
);
|
||||
}
|
||||
|
||||
/** `searched 3×`, or null before the first attempt ever lands here. */
|
||||
|
||||
Reference in New Issue
Block a user