File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
components/dashboard/src/admin Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
import { User , WorkspaceAndInstance , ContextURL } from "@gitpod/gitpod-protocol" ;
8
- import { GitpodHostUrl } from "@gitpod/gitpod-protocol/lib/util/gitpod-host-url" ;
9
8
import dayjs from "dayjs" ;
10
9
import { useEffect , useState } from "react" ;
11
10
import { Link } from "react-router-dom" ;
@@ -66,18 +65,6 @@ export default function WorkspaceDetail(props: { workspace: WorkspaceAndInstance
66
65
</ div >
67
66
< p > { getProject ( WorkspaceAndInstance . toWorkspace ( workspace ) ) } </ p >
68
67
</ 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 >
81
68
< button
82
69
className = "danger ml-3"
83
70
disabled = { activity || workspace . phase === "stopped" }
You can’t perform that action at this time.
0 commit comments