Skip to content

Commit e5784a9

Browse files
committed
Only show "manage modes" action when custom modes exist
1 parent 9cd2d09 commit e5784a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/workbench/contrib/chat/browser/actions/promptActions/chatModeActions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class ManageModeAction extends Action2 {
3535
menu: [
3636
{
3737
id: MenuId.ChatModePicker,
38+
when: ChatContextKeys.Modes.hasCustomChatModes
3839
}
3940
]
4041
});

0 commit comments

Comments
 (0)