Skip to content

refactor(site): add default owner:me filter to workspaces #7738

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 4 commits into from
Jun 1, 2023
Merged
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 when showiing when it is empty
  • Loading branch information
BrunoQuaresma committed Jun 1, 2023
commit c2b21aa413e6706406bc2f943bc8d31432b83d3c
5 changes: 4 additions & 1 deletion site/src/pages/WorkspacesPage/WorkspacesPageView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,10 @@ export const WorkspacesPageView: FC<
</Stack>
<WorkspacesTable
workspaces={workspaces}
isUsingFilter={filterProps.filter.query !== ""}
isUsingFilter={
filterProps.filter.query !== "" &&
filterProps.filter.query !== "owner:me"
}
onUpdateWorkspace={onUpdateWorkspace}
error={error}
/>
Expand Down