@@ -237,11 +237,11 @@ export default class StartWorkspace extends React.Component<StartWorkspaceProps,
237
237
< div className = "rounded-full w-3 h-3 text-sm bg-gitpod-kumquat" > </ div >
238
238
< div >
239
239
< p className = "text-gray-700 font-semibold" > { this . state . workspaceInstance . workspaceId } </ p >
240
- < a href = { this . state . workspace ?. contextURL } > < p className = "w-56 truncate hover:underline" > { this . state . workspace ?. contextURL } </ p > </ a >
240
+ < a target = "_parent" href = { this . state . workspace ?. contextURL } > < p className = "w-56 truncate hover:underline" > { this . state . workspace ?. contextURL } </ p > </ a >
241
241
</ div >
242
242
</ div >
243
- < div className = "mt-10 flex" >
244
- < button className = "secondary mx-auto" onClick = { ( ) => this . redirectTo ( gitpodHostUrl . asDashboard ( ) . toString ( ) ) } > Go to Dashboard</ button >
243
+ < div className = "mt-10 flex justify-center " >
244
+ < a target = "_parent" href = { gitpodHostUrl . asDashboard ( ) . toString ( ) } > < button className = "secondary" > Go to Dashboard</ button > </ a >
245
245
</ div >
246
246
</ div > ;
247
247
break ;
@@ -261,15 +261,15 @@ export default class StartWorkspace extends React.Component<StartWorkspaceProps,
261
261
< div className = "rounded-full w-3 h-3 text-sm bg-gray-300" > </ div >
262
262
< div >
263
263
< p className = "text-gray-700 font-semibold" > { this . state . workspaceInstance . workspaceId } </ p >
264
- < a href = { this . state . workspace ?. contextURL } > < p className = "w-56 truncate hover:underline" > { this . state . workspace ?. contextURL } </ p > </ a >
264
+ < a target = "_parent" href = { this . state . workspace ?. contextURL } > < p className = "w-56 truncate hover:underline" > { this . state . workspace ?. contextURL } </ p > </ a >
265
265
</ div >
266
266
</ div >
267
267
{ pendingChanges . length > 0
268
268
? < p className = "mt-2 text-red-500" > { pendingChanges . length } Change{ pendingChanges . length === 1 ? '' : 's' } </ p >
269
269
: < p className = "mt-2" > No Changes</ p > }
270
- < div className = "mt-10 flex space-x-2" >
271
- < button className = "secondary" onClick = { ( ) => this . redirectTo ( gitpodHostUrl . asDashboard ( ) . toString ( ) ) } > Go to Dashboard</ button >
272
- < button onClick = { ( ) => this . redirectTo ( gitpodHostUrl . asStart ( this . state . workspaceInstance ?. workspaceId ) . toString ( ) ) } > Open Workspace</ button >
270
+ < div className = "mt-10 flex justify-center space-x-2" >
271
+ < a target = "_parent" href = { gitpodHostUrl . asDashboard ( ) . toString ( ) } > < button className = "secondary" > Go to Dashboard</ button > </ a >
272
+ < a target = "_parent" href = { gitpodHostUrl . asStart ( this . state . workspaceInstance ?. workspaceId ) . toString ( ) } > < button > Open Workspace</ button > </ a >
273
273
</ div >
274
274
</ div > ;
275
275
break ;
0 commit comments