mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
update to electron 2.x
This commit is contained in:
@@ -265,7 +265,7 @@ export class VaultComponent implements OnInit, OnDestroy {
|
||||
default:
|
||||
break;
|
||||
}
|
||||
menu.popup(remote.getCurrentWindow());
|
||||
menu.popup({ window: remote.getCurrentWindow() });
|
||||
}
|
||||
|
||||
editCipher(cipher: CipherView) {
|
||||
@@ -307,7 +307,7 @@ export class VaultComponent implements OnInit, OnDestroy {
|
||||
label: this.i18nService.t('typeSecureNote'),
|
||||
click: () => this.addCipherWithChangeDetection(CipherType.SecureNote),
|
||||
}));
|
||||
menu.popup(remote.getCurrentWindow());
|
||||
menu.popup({ window: remote.getCurrentWindow() });
|
||||
}
|
||||
|
||||
async savedCipher(cipher: CipherView) {
|
||||
|
||||
Reference in New Issue
Block a user