10000 fix: Show correct 'no results' message on workspace filters by f0ssel · Pull Request #2103 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

fix: Show correct 'no results' message on workspace filters #2103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 7, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix merge
  • Loading branch information
f0ssel committed Jun 7, 2022
commit 4175a9a516d5368d909edadd9febd93384169401
1 change: 0 additions & 1 deletion site/src/pages/WorkspacesPage/WorkspacesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { useMachine } from "@xstate/react"
import { FC } from "react"
import { Helmet } from "react-helmet"
import { pageTitle } from "../../util/page"
import { workspaceFilterQuery } from "../../util/workspace"
import { workspacesMachine } from "../../xServices/workspaces/workspacesXService"
import { WorkspacesPageView } from "./WorkspacesPageView"

Expand Down
2 changes: 1 addition & 1 deletion site/src/pages/WorkspacesPage/WorkspacesPageView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export const WorkspacesPageView: FC<WorkspacesPageViewProps> = ({ loading, works
{!workspaces && loading && <TableLoader />}
{workspaces && workspaces.length === 0 && (
<>
{query === workspaceFilterQuery.me || query === workspaceFilterQuery.all ? (
{filter === workspaceFilterQuery.me || filter === workspaceFilterQuery.all ? (
<TableRow>
<TableCell colSpan={999}>
<EmptyState
Expand Down
0