mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-04 01:44:44 -06:00
chat - just show 1 button in the toast (#292369)
This commit is contained in:
parent
5366853409
commit
ce590bbcb2
@ -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') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user