mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: fix navigation when clicking on share workspace from the task overview page (#21523)
This commit is contained in:
@@ -274,7 +274,8 @@ const TaskRow: FC<TaskRowProps> = ({
|
||||
</DropdownMenuTrigger>
|
||||
<DropdownMenuContent align="end">
|
||||
<DropdownMenuItem
|
||||
onSelect={() => {
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
navigate(
|
||||
`/@${task.owner_name}/${task.workspace_name}/settings/sharing`,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user