Skip to content

Commit bbf9061

Browse files
authored
fix: use owner username instead of owner name in tasks list links (coder#18098)
Fixes a bug where if you click on a task in the tasks list, you see: ![image (4)](https://github.com/user-attachments/assets/db392425-3ec8-441c-9f19-6860b85374a5)
1 parent da02375 commit bbf9061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/pages/TasksPage/TasksPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ const TasksTable: FC<TasksTableProps> = ({ templates }) => {
318318
{prompt}
319319
</span>
320320
<RouterLink
321-
to={`/tasks/${workspace.owner_name}/${workspace.name}`}
321+
to={`/tasks/${workspace.owner_username}/${workspace.name}`}
322322
className="absolute inset-0"
323323
>
324324
<span className="sr-only">Access task</span>

0 commit comments

Comments
 (0)