Skip to content
TypeScript
279 B
Raw Blame
import type { ThreadListV2Status } from "./threadListV2";

export function shouldRecedeThreadRow(input: {
  readonly status: ThreadListV2Status;
  readonly selected: boolean;
}): boolean {
  return !input.selected && (input.status === "working" || input.status === "waiting");
}