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:
parent
79f097b3cd
commit
4fc968f682
@ -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({
|
||||||
|
Loading…
Reference in New Issue
Block a user