1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-08 09:43:42 +01:00

Renamed command openPopout to promptForLogin

This commit is contained in:
Daniel James Smith 2021-10-08 15:23:37 +02:00
parent 79f097b3cd
commit 4fc968f682
No known key found for this signature in database
GPG Key ID: 03E4BD365FF06726
2 changed files with 3 additions and 4 deletions

View File

@ -97,8 +97,7 @@ export default class RuntimeBackground {
case 'openPopup': case 'openPopup':
await this.main.openPopup(); await this.main.openPopup();
break; break;
case 'openPopout': case 'promptForLogin':
await this.popupUtilsService.popOut(window, 'popup/index.html?uilocation=popout');
break; break;
case 'showDialogResolve': case 'showDialogResolve':
this.platformUtilsService.resolveDialogPromise(msg.dialogId, msg.confirmed); this.platformUtilsService.resolveDialogPromise(msg.dialogId, msg.confirmed);

View File

@ -72,7 +72,7 @@ document.addEventListener('DOMContentLoaded', () => {
if (isVaultLocked) { if (isVaultLocked) {
sendPlatformMessage({ sendPlatformMessage({
command: 'openPopout' command: 'promptForLogin'
}); });
sendPlatformMessage({ sendPlatformMessage({
@ -116,7 +116,7 @@ document.addEventListener('DOMContentLoaded', () => {
if (isVaultLocked) { if (isVaultLocked) {
sendPlatformMessage({ sendPlatformMessage({
command: 'openPopout' command: 'promptForLogin'
}); });
sendPlatformMessage({ sendPlatformMessage({