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 {
418
418
// Launch and run command in terminal if command is provided
419
419
if ( app . command ) {
420
420
const terminal = vscode . window . createTerminal ( `${ app . name || "Application" } Status` )
421
- terminal . show ( false )
421
+ terminal . show ( true )
422
422
vscode . commands . executeCommand ( "workbench.action.toggleMaximizedPanel" )
423
423
// If workspace_name is provided, run coder ssh before the command
424
424
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
273
273
}
274
274
}
275
275
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
+ }
278
281
}
279
282
280
283
const savedMetadata = watcher ?. metadata || [ ]
You can’t perform that action at this time.
0 commit comments