Skip to content

Commit

Permalink
fix: bug where all workspaces filter defaulted to 'me' (#2145)
Browse files Browse the repository at this point in the history
* fix: bug where all workspaces filter defaulted to 'me'
  • Loading branch information
f0ssel authored and kylecarbs committed Jun 10, 2022
1 parent f20d961 commit 79366fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/src/pages/WorkspacesPage/WorkspacesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const WorkspacesPage: FC = () => {

useEffect(() => {
const filter = searchParams.get("filter")
const query = filter ? filter : workspaceFilterQuery.me
const query = filter !== null ? filter : workspaceFilterQuery.me

send({
type: "SET_FILTER",
Expand Down

0 comments on commit 79366fc

Please sign in to comment.