fix: use latest build version name on workspace page (#14771)

This commit is contained in:
Ethan
2024-09-23 23:06:03 +10:00
committed by GitHub
parent db4945dc27
commit b4f54f3eea

View File

@ -158,7 +158,7 @@ export const WorkspaceTopbar: FC<WorkspaceProps> = ({
workspaceName={workspace.name}
templateIconUrl={workspace.template_icon}
rootTemplateUrl={templateLink}
templateVersionName={workspace.template_name}
templateVersionName={workspace.latest_build.template_version_name}
templateVersionDisplayName={workspace.template_display_name}
latestBuildVersionName={
workspace.latest_build.template_version_name