feat: Add template icon to the workspaces page (#3612)

This removes the last built by column from the page. It seemed
cluttered to have both on the page, and is simple enough to
click on the workspace to see additional info.
This commit is contained in:
Kyle Carberry
2022-08-22 09:42:11 -05:00
committed by GitHub
parent 369a9fb535
commit 58d29264aa
7 changed files with 30 additions and 13 deletions

View File

@ -891,6 +891,7 @@ func convertWorkspace(
TemplateID: workspace.TemplateID,
LatestBuild: convertWorkspaceBuild(owner, initiator, workspace, workspaceBuild, job),
TemplateName: template.Name,
TemplateIcon: template.Icon,
Outdated: workspaceBuild.TemplateVersionID.String() != template.ActiveVersionID.String(),
Name: workspace.Name,
AutostartSchedule: autostartSchedule,