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 committed Jun 7, 2022
1 parent 7b76afb commit 945fa9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/src/pages/WorkspacesPage/WorkspacesPage.tsx
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 945fa9d

Please sign in to comment.