8000 fix: handle owner but no name syntax by f0ssel · Pull Request #2045 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

fix: handle owner but no name syntax #2045

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 3 commits into from
Jun 6, 2022
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
fix test
  • Loading branch information
f0ssel committed Jun 3, 2022
commit 767b0ec5491d024b9855407c927f5a00755a0c17
4 changes: 2 additions & 2 deletions site/src/util/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,10 @@ export const workspaceQueryToFilter = (query?: string): TypesGen.WorkspaceFilter
const [username, name] = part.split("/")
return {
owner: username,
name: name,
name: name === "" ? undefined : name,
}
}

return {
name: part,
}
Expand Down
0