Skip to content

Commit 6df072a

Browse files
committed
fix(web): keep unseen failure helper private
1 parent cae247f commit 6df072a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/components/Sidebar.logic.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ export function hasUnseenCompletion(thread: ThreadStatusInput): boolean {
725725
* completion, a thread nobody has opened yet (an automation's, say) counts:
726726
* its failure still needs someone.
727727
*/
728-
export function hasUnseenFailure(thread: ThreadStatusInput): boolean {
728+
function hasUnseenFailure(thread: ThreadStatusInput): boolean {
729729
if (thread.latestRun?.status !== "failed") return false;
730730
if (!thread.lastVisitedAt) return true;
731731
const completedAt = Date.parse(thread.latestRun.completedAt ?? "");

0 commit comments

Comments
 (0)