Skip to content

Commit

Permalink
Only show Active initiatives
Browse files Browse the repository at this point in the history
  • Loading branch information
snario authored Jan 14, 2025
1 parent ad60bc9 commit c3c71a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/linear.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,7 @@ export function fetchProject(apiKey: string, projectId: string) {
export function fetchAllInitiatives(apiKey: string) {
const data = fetchLinearData(apiKey, "GetInitiatives");
return data.data.initiatives.nodes.filter(
(node: { status: string }) =>
node.status === "Active" || node.status === "Completed",
(node: { status: string }) => node.status === "Active"
);
}

Expand Down

0 comments on commit c3c71a3

Please sign in to comment.