File tree 2 files changed +0
-145
lines changed
components/dashboard/src/admin 2 files changed +0
-145
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ import { Link } from "react-router-dom";
12
12
import { getGitpodService } from "../service/service" ;
13
13
import { getProjectPath } from "../workspaces/WorkspaceEntry" ;
14
14
import { WorkspaceStatusIndicator } from "../workspaces/WorkspaceStatusIndicator" ;
15
- import { getAdminLinks } from "./gcp-info" ;
16
15
import Property from "./Property" ;
17
16
18
17
export default function WorkspaceDetail ( props : { workspace : WorkspaceAndInstance } ) {
@@ -44,17 +43,6 @@ export default function WorkspaceDetail(props: { workspace: WorkspaceAndInstance
44
43
}
45
44
} ;
46
45
47
- const adminLinks = getAdminLinks ( workspace ) ;
48
- const adminLink = ( i : number ) => (
49
- < Property key = { "admin-" + i } name = { adminLinks [ i ] ?. name || "" } >
50
- < a
51
- className = "text-blue-400 dark:text-blue-600 hover:text-blue-600 dark:hover:text-blue-400"
52
- href = { adminLinks [ i ] ?. url }
53
- >
54
- { adminLinks [ i ] ?. title || "" }
55
- </ a >
56
- </ Property >
57
- ) ;
58
46
return (
59
47
< >
60
48
< div className = "app-container" >
@@ -154,8 +142,6 @@ export default function WorkspaceDetail(props: { workspace: WorkspaceAndInstance
154
142
< div > { workspace . workspaceClass ?? "unknown" } </ div >
155
143
</ Property >
156
144
</ div >
157
- < div className = "flex w-full mt-6" > { [ 0 , 1 , 2 ] . map ( adminLink ) } </ div >
158
- < div className = "flex w-full mt-6" > { [ 3 , 4 , 5 ] . map ( adminLink ) } </ div >
159
145
</ div >
160
146
</ div >
161
147
</ div >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments