Skip to content

Commit b8815e0

Browse files
committed
Filter done
1 parent 752a7b3 commit b8815e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import styles from "./page.module.css";
33
import { plainClient } from "@/lib/plainClient";
44
import { ThreadRow } from "@/components/threadRow";
55
import { PaginationControls } from "@/components/paginationControls";
6+
import { ThreadStatus } from "@team-plain/typescript-sdk";
67

78
export const fetchCache = "force-no-store";
89

@@ -20,6 +21,7 @@ export default async function Home({
2021
// Note that if you provide multiple filters they are combined with AND rather than OR.
2122
// customerIds: ["c_01J28ZQKJX9CVRXVHBMAXNSV5G"],
2223
tenantIdentifiers: [{ externalId: TENANT_EXTERNAL_ID }],
24+
statuses: [ThreadStatus.Todo, ThreadStatus.Snoozed],
2325
},
2426
after: searchParams.after as string | undefined,
2527
before: searchParams.before as string | undefined,

0 commit comments

Comments
 (0)