mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
Renamed command openPopout to promptForLogin
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user