Skip to content

Commit 3682e42

Browse files
authored
Merge pull request #273573 from mjbvz/dev/mjbvz/premier-wolverine
Don't use split button if there's only one action
2 parents f9adc94 + bb7ccba commit 3682e42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/chat/browser/chatSessions.contribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ export class ChatSessionsService extends Disposable implements IChatSessionsServ
473473
ContextKeyExpr.equals('view', `${AGENT_SESSIONS_VIEWLET_ID}.${contribution.type}`)
474474
),
475475
submenu: MenuId.ChatSessionsCreateSubMenu,
476-
isSplitButton: true
476+
isSplitButton: menuActions.length > 1
477477
});
478478
} else {
479479
// We control creation instead

0 commit comments

Comments
 (0)