diff --git a/packages/plugin-ext/src/main/browser/dialogs/modal-notification.ts b/packages/plugin-ext/src/main/browser/dialogs/modal-notification.ts index abe3ee6002d35..0d42eb1600850 100644 --- a/packages/plugin-ext/src/main/browser/dialogs/modal-notification.ts +++ b/packages/plugin-ext/src/main/browser/dialogs/modal-notification.ts @@ -77,8 +77,10 @@ export class ModalNotification extends AbstractDialog { detailElement.textContent = options.detail; } - actions.forEach((action: MainMessageItem) => { - const button = this.createButton(action.title); + actions.forEach((action: MainMessageItem, index: number) => { + const button = index === 0 + ? this.appendAcceptButton(action.title) + : this.createButton(action.title); button.classList.add('main'); this.controlPanel.appendChild(button); this.addKeyListener(button,