File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 288288 },
289289 {
290290 "command" : " coder.navigateToWorkspace" ,
291- "when" : " coder.authenticated "
291+ "when" : " coder.workspace.connected "
292292 },
293293 {
294294 "command" : " coder.navigateToWorkspaceSettings" ,
295- "when" : " coder.authenticated "
295+ "when" : " coder.workspace.connected "
296296 },
297297 {
298298 "command" : " coder.workspace.update" ,
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ const CONTEXT_DEFAULTS = {
44 "coder.authenticated" : false ,
55 "coder.isOwner" : false ,
66 "coder.loaded" : false ,
7+ "coder.workspace.connected" : false ,
78 "coder.workspace.updatable" : false ,
89} as const ;
910
Original file line number Diff line number Diff line change @@ -556,6 +556,7 @@ export class Remote {
556556 throw ex ;
557557 }
558558
559+ this . contextManager . set ( "coder.workspace.connected" , true ) ;
559560 this . logger . info ( "Remote setup complete" ) ;
560561
561562 // Returning the URL and token allows the plugin to authenticate its own
You can’t perform that action at this time.
0 commit comments