Skip to content

Commit 69c9006

Browse files
fix: rename build.workspace_owner_name to build.workspace_owner_username (coder#18078)
I forgot to update the the build logs to use username instead of name. Introduced on: coder#18025
1 parent bbf9061 commit 69c9006

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

site/src/pages/WorkspaceBuildPage/WorkspaceBuildPageView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export const WorkspaceBuildPageView: FC<WorkspaceBuildPageViewProps> = ({
104104
label="Workspace"
105105
value={
106106
<Link
107-
to={`/@${build.workspace_owner_name}/${build.workspace_name}`}
107+
to={`/@${build.workspace_owner_username}/${build.workspace_name}`}
108108
>
109109
{build.workspace_name}
110110
</Link>
@@ -158,7 +158,7 @@ export const WorkspaceBuildPageView: FC<WorkspaceBuildPageViewProps> = ({
158158
{builds?.map((build) => (
159159
<Link
160160
key={build.id}
161-
to={`/@${build.workspace_owner_name}/${build.workspace_name}/builds/${build.build_number}`}
161+
to={`/@${build.workspace_owner_username}/${build.workspace_name}/builds/${build.build_number}`}
162162
>
163163
<SidebarItem active={build.build_number === activeBuildNumber}>
164164
<WorkspaceBuildData build={build} />

site/src/pages/WorkspacePage/HistorySidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const HistorySidebar: FC<HistorySidebarProps> = ({ workspace }) => {
3535
<SidebarLink
3636
target="_blank"
3737
key={build.id}
38-
to={`/@${build.workspace_owner_name}/${build.workspace_name}/builds/${build.build_number}`}
38+
to={`/@${build.workspace_owner_username}/${build.workspace_name}/builds/${build.build_number}`}
3939
>
4040
<WorkspaceBuildData build={build} />
4141
</SidebarLink>

0 commit comments

Comments
 (0)