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 {
56
56
for ( const action of actions ) {
57
57
let category = action . category ;
58
58
if ( ! category ) {
59
- category = { label : '' , order : Number . MIN_SAFE_INTEGER } ;
59
+ category = { label : '' , order : Number . MAX_SAFE_INTEGER } ;
60
60
}
61
61
if ( ! actionsByCategory . has ( category . label ) ) {
62
62
actionsByCategory . set ( category . label , [ ] ) ;
@@ -74,7 +74,7 @@ export class ActionWidgetDropdown extends BaseDropdown {
74
74
75
75
for ( const [ categoryLabel , categoryActions ] of sortedCategories ) {
76
76
77
- if ( categoryLabel !== '' ) {
77
+ if ( categoryLabel ) {
78
78
// Push headers for each category
79
79
actionWidgetItems . push ( {
80
80
label : categoryLabel ,
You can’t perform that action at this time.
0 commit comments