File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export const WorkspaceStats: FC<WorkspaceStatsProps> = ({
46
46
to = { `/templates/${ workspace . template_name } ` }
47
47
className = { combineClasses ( [ styles . statsValue , styles . link ] ) }
48
48
>
49
- { workspace . template_name }
49
+ { workspace . template_display_name . length > 0 ? workspace . template_display_name : workspace . template_name }
50
50
</ Link >
51
51
</ div >
52
52
< div className = { styles . statItem } >
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export const WorkspacesRow: FC<
61
61
</ TableCellLink >
62
62
63
63
< TableCellLink to = { workspacePageLink } >
64
- < TableCellDataPrimary > { workspace . template_name } </ TableCellDataPrimary >
64
+ < TableCellDataPrimary > { workspace . template_display_name . length > 0 ? workspace . template_display_name : workspace . template_name } </ TableCellDataPrimary >
65
65
</ TableCellLink >
66
66
< TableCellLink to = { workspacePageLink } >
67
67
< TableCellData >
You can’t perform that action at this time.
0 commit comments