chat - just show 1 button in the toast (#292369)

This commit is contained in:
Benjamin Pasero 2026-02-03 01:19:01 +01:00 committed by GitHub
parent 5366853409
commit ce590bbcb2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -100,7 +100,7 @@ export class ChatWindowNotifier extends Disposable implements IWorkbenchContribu
const result = await this._hostService.showToast({
title: this._sanitizeOSToastText(notificationTitle),
body: info.detail ? this._sanitizeOSToastText(info.detail) : localize('notificationDetail', "Approval needed to continue."),
actions: [localize('allowAction', "Allow"), localize('showChat', "Show")],
actions: [localize('allowAction', "Allow")],
}, cts.token);
if (result.clicked || typeof result.actionIndex === 'number') {