File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/vs/platform/actionWidget/browser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ export class ActionWidgetDropdown extends BaseDropdown {
5656 for ( const action of actions ) {
5757 let category = action . category ;
5858 if ( ! category ) {
59- category = { label : '' , order : Number . MIN_SAFE_INTEGER } ;
59+ category = { label : '' , order : Number . MAX_SAFE_INTEGER } ;
6060 }
6161 if ( ! actionsByCategory . has ( category . label ) ) {
6262 actionsByCategory . set ( category . label , [ ] ) ;
@@ -74,7 +74,7 @@ export class ActionWidgetDropdown extends BaseDropdown {
7474
7575 for ( const [ categoryLabel , categoryActions ] of sortedCategories ) {
7676
77- if ( categoryLabel !== '' ) {
77+ if ( categoryLabel ) {
7878 // Push headers for each category
7979 actionWidgetItems . push ( {
8080 label : categoryLabel ,
You can’t perform that action at this time.
0 commit comments