File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 303303 "when" : " coder.authenticated"
304304 },
305305 {
306- "command" : " coder.viewLogs"
306+ "command" : " coder.viewLogs" ,
307+ "when" : " true"
307308 },
308309 {
309310 "command" : " coder.openAppStatus" ,
310- "when" : " coder.authenticated "
311+ "when" : " false "
311312 },
312313 {
313- "command" : " coder.debug.listDeployments " ,
314- "when" : " coder.devMode "
314+ "command" : " coder.open " ,
315+ "when" : " coder.authenticated "
315316 },
316317 {
317318 "command" : " coder.openFromSidebar" ,
324325 {
325326 "command" : " coder.searchAllWorkspaces" ,
326327 "when" : " false"
328+ },
329+ {
330+ "command" : " coder.debug.listDeployments" ,
331+ "when" : " coder.devMode"
327332 }
328333 ],
329334 "view/title" : [
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ export class Commands {
242242 *
243243 * Otherwise, the currently connected workspace is used (if any).
244244 */
245- public async navigateToWorkspace ( item : OpenableTreeItem ) {
245+ public async navigateToWorkspace ( item ? : OpenableTreeItem ) {
246246 if ( item ) {
247247 const baseUrl = this . requireExtensionBaseUrl ( ) ;
248248 const workspaceId = createWorkspaceIdentifier ( item . workspace ) ;
@@ -266,7 +266,7 @@ export class Commands {
266266 *
267267 * Otherwise, the currently connected workspace is used (if any).
268268 */
269- public async navigateToWorkspaceSettings ( item : OpenableTreeItem ) {
269+ public async navigateToWorkspaceSettings ( item ? : OpenableTreeItem ) {
270270 if ( item ) {
271271 const baseUrl = this . requireExtensionBaseUrl ( ) ;
272272 const workspaceId = createWorkspaceIdentifier ( item . workspace ) ;
You can’t perform that action at this time.
0 commit comments