Skip to content

Commit 5d65750

Browse files
gtsioliseasyCZ
authored andcommitted
Remove download workspace button from admin
1 parent 1b48aa9 commit 5d65750

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

components/dashboard/src/admin/WorkspaceDetail.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
*/
66

77
import { User, WorkspaceAndInstance, ContextURL } from "@gitpod/gitpod-protocol";
8-
import { GitpodHostUrl } from "@gitpod/gitpod-protocol/lib/util/gitpod-host-url";
98
import dayjs from "dayjs";
109
import { useEffect, useState } from "react";
1110
import { Link } from "react-router-dom";
@@ -66,18 +65,6 @@ export default function WorkspaceDetail(props: { workspace: WorkspaceAndInstance
6665
</div>
6766
<p>{getProject(WorkspaceAndInstance.toWorkspace(workspace))}</p>
6867
</div>
69-
<button
70-
className="secondary ml-3"
71-
onClick={() => {
72-
window.location.href = new GitpodHostUrl(window.location.href)
73-
.with({
74-
pathname: `/workspace-download/get/${workspace.workspaceId}`,
75-
})
76-
.toString();
77-
}}
78-
>
79-
Download Workspace
80-
</button>
8168
<button
8269
className="danger ml-3"
8370
disabled={activity || workspace.phase === "stopped"}

0 commit comments

Comments
 (0)