File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -418,7 +418,7 @@ export class Commands {
418418 // Launch and run command in terminal if command is provided
419419 if ( app . command ) {
420420 const terminal = vscode . window . createTerminal ( `${ app . name || "Application" } Status` )
421- terminal . show ( false )
421+ terminal . show ( true )
422422 vscode . commands . executeCommand ( "workbench.action.toggleMaximizedPanel" )
423423 // If workspace_name is provided, run coder ssh before the command
424424 if ( app . workspace_name ) {
Original file line number Diff line number Diff line change @@ -273,8 +273,11 @@ export class WorkspaceProvider implements vscode.TreeDataProvider<vscode.TreeIte
273273 }
274274 }
275275
276- const appStatusSection = new SectionTreeItem ( "Applications in need of attention" , needsAttention )
277- items . push ( appStatusSection )
276+ // Only show the section if it has items that need attention
277+ if ( needsAttention . length > 0 ) {
278+ const appStatusSection = new SectionTreeItem ( "Applications in need of attention" , needsAttention )
279+ items . push ( appStatusSection )
280+ }
278281 }
279282
280283 const savedMetadata = watcher ?. metadata || [ ]
You can’t perform that action at this time.
0 commit comments