Skip to content

fix: update create workspace button to recognize template names+display names #10233

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 2 commits into from
Oct 12, 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
Next Next commit
fix: only used 'unnamed' as a last resort for templates
  • Loading branch information
Parkreiner committed Oct 12, 2023
commit 7aa4a01a7c62a5f31de95f272d6f5060f509b4f0
2 changes: 1 addition & 1 deletion site/src/pages/WorkspacesPage/WorkspacesButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function WorkspaceResultsRow({ template }: { template: Template }) {
sx={{ marginY: 0, paddingBottom: 0.5, lineHeight: 1 }}
noWrap
>
{template.display_name || "[Unnamed]"}
{template.display_name || template.name || "[Unnamed]"}
</Typography>

<Box
Expand Down