Skip to content

Commit

Permalink
fix: filter none updated (#1399)
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolsinghbhatia committed Jun 26, 2023
1 parent ad34112 commit 3f22ccc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/app/components/views/select-filters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,17 @@ export const SelectFilters: React.FC<Props> = ({
value: PRIORITIES,
children: [
...PRIORITIES.map((priority) => ({
id: priority ?? "none",
id: priority === null ? "null" : priority,
label: (
<div className="flex items-center gap-2">
{getPriorityIcon(priority)} {priority ?? "None"}
</div>
),
value: {
key: "priority",
value: priority,
value: priority === null ? "null" : priority,
},
selected: filters?.priority?.includes(priority ?? "none"),
selected: filters?.priority?.includes(priority === null ? "null" : priority),
})),
],
},
Expand Down

1 comment on commit 3f22ccc

@vercel
Copy link

@vercel vercel bot commented on 3f22ccc Jun 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

plane-dev – ./apps/app

plane-dev-plane.vercel.app
plane-dev.vercel.app
plane-dev-git-develop-plane.vercel.app

Please sign in to comment.