new draft for workflow tasks

This commit is contained in:
Ian Gulliver
2026-10-16 11:25:32 -07:00
parent d26c81ceb1
commit 6abd1d8cfa
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ export async function loadSummaryReads() {
notify("summaries");
}
export function unreadSummary(task) {
return task.summary_seq > (state.summaryReads[task.id] ?? 0);
return task.workflow === undefined && task.summary_seq > (state.summaryReads[task.id] ?? 0);
}
function noteSummaryRead(taskId, seq) {
if ((state.summaryReads[taskId] ?? 0) >= seq) {
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -373,7 +373,7 @@ export async function loadSummaryReads(): Promise<void> {
}
export function unreadSummary(task: Task): boolean {
return task.summary_seq > (state.summaryReads[task.id] ?? 0);
return task.workflow === undefined && task.summary_seq > (state.summaryReads[task.id] ?? 0);
}
function noteSummaryRead(taskId: string, seq: number): boolean {