Skip to content
Source
Sign inSign up

thread-row-emphasis.ts

8 lines279 Bytes

1import type { ThreadListV2Status } from "./threadListV2";
2​
3export function shouldRecedeThreadRow(input: {
4 readonly status: ThreadListV2Status;
5 readonly selected: boolean;
6}): boolean {
7 return !input.selected && (input.status === "working" || input.status === "waiting");
8}