From 945fa9dacfe995915cc5d066eb192aab09391878 Mon Sep 17 00:00:00 2001 From: Garrett Delfosse Date: Tue, 7 Jun 2022 17:15:50 -0500 Subject: [PATCH] fix: bug where all workspaces filter defaulted to 'me' (#2145) * fix: bug where all workspaces filter defaulted to 'me' --- site/src/pages/WorkspacesPage/WorkspacesPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/pages/WorkspacesPage/WorkspacesPage.tsx b/site/src/pages/WorkspacesPage/WorkspacesPage.tsx index d8fd2f329d..c5f47cc50a 100644 --- a/site/src/pages/WorkspacesPage/WorkspacesPage.tsx +++ b/site/src/pages/WorkspacesPage/WorkspacesPage.tsx @@ -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",