fix: change order of 'Allow' and 'Deny' button in confirmation dialog (#16961)

Signed-off-by: Denis Golovin <dgolovin@redhat.com>
(cherry picked from commit 5a33ac7c62)
This commit is contained in:
Denis Golovin 2026-04-09 15:49:08 -04:00 committed by Mergify
parent f4f2741d98
commit 531d1c62e8
2 changed files with 2 additions and 2 deletions

View file

@ -487,7 +487,7 @@ test('getSession prompts for allowance when accessing session without prior deci
expect.objectContaining({ expect.objectContaining({
title: 'Allow Access', title: 'Allow Access',
message: expect.stringContaining('Extension 2'), message: expect.stringContaining('Extension 2'),
buttons: ['Deny', 'Allow'], buttons: ['Allow', 'Deny'],
}), }),
); );

View file

@ -334,7 +334,7 @@ export class AuthenticationImpl {
const allowRsp = await this.messageBox.showMessageBox({ const allowRsp = await this.messageBox.showMessageBox({
title: 'Allow Access', title: 'Allow Access',
message: `The extension '${requestingExtension.label}' wants to access the ${providerData?.label ?? providerId} account '${accountLabel}'.`, message: `The extension '${requestingExtension.label}' wants to access the ${providerData?.label ?? providerId} account '${accountLabel}'.`,
buttons: ['Deny', 'Allow'], buttons: ['Allow', 'Deny'],
type: 'info', type: 'info',
}); });