1
0
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:
Kyle Spearrin
2018-05-31 08:10:02 -04:00
parent 7b6e49ee41
commit 2a15989b35
4 changed files with 16 additions and 15 deletions

View File

@@ -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) {