mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-29 17:38:04 +01:00
Capitalize class name: LockedVaultPendingNotificationsItem
This commit is contained in:
parent
2299abe7a6
commit
d4e91a81f9
@ -1,4 +1,4 @@
|
||||
export default class lockedVaultPendingNotificationsItem {
|
||||
export default class LockedVaultPendingNotificationsItem {
|
||||
commandToRetry: {
|
||||
msg: any;
|
||||
sender: chrome.runtime.MessageSender;
|
||||
|
@ -22,7 +22,7 @@ import { PolicyType } from 'jslib-common/enums/policyType';
|
||||
|
||||
import AddChangePasswordQueueMessage from './models/addChangePasswordQueueMessage';
|
||||
import AddLoginQueueMessage from './models/addLoginQueueMessage';
|
||||
import lockedVaultPendingNotificationsItem from './models/lockedVaultPendingNotificationsItem';
|
||||
import LockedVaultPendingNotificationsItem from './models/lockedVaultPendingNotificationsItem';
|
||||
import { NotificationQueueMessageType } from './models/NotificationQueueMessageType';
|
||||
|
||||
export default class NotificationBackground {
|
||||
@ -77,7 +77,7 @@ export default class NotificationBackground {
|
||||
case 'bgAddSave':
|
||||
case 'bgChangeSave':
|
||||
if (await this.vaultTimeoutService.isLocked()) {
|
||||
const retryMessage: lockedVaultPendingNotificationsItem = {
|
||||
const retryMessage: LockedVaultPendingNotificationsItem = {
|
||||
commandToRetry: {
|
||||
msg: msg,
|
||||
sender: sender,
|
||||
|
@ -13,13 +13,13 @@ import { BrowserApi } from '../browser/browserApi';
|
||||
import MainBackground from './main.background';
|
||||
|
||||
import { Utils } from 'jslib-common/misc/utils';
|
||||
import lockedVaultPendingNotificationsItem from './models/lockedVaultPendingNotificationsItem';
|
||||
import LockedVaultPendingNotificationsItem from './models/lockedVaultPendingNotificationsItem';
|
||||
|
||||
export default class RuntimeBackground {
|
||||
private autofillTimeout: any;
|
||||
private pageDetailsToAutoFill: any[] = [];
|
||||
private onInstalledReason: string = null;
|
||||
private lockedVaultPendingNotifications: lockedVaultPendingNotificationsItem[] = [];
|
||||
private lockedVaultPendingNotifications: LockedVaultPendingNotificationsItem[] = [];
|
||||
|
||||
constructor(private main: MainBackground, private autofillService: AutofillService,
|
||||
private platformUtilsService: BrowserPlatformUtilsService,
|
||||
@ -48,7 +48,7 @@ export default class RuntimeBackground {
|
||||
switch (msg.command) {
|
||||
case 'loggedIn':
|
||||
case 'unlocked':
|
||||
let item: lockedVaultPendingNotificationsItem;
|
||||
let item: LockedVaultPendingNotificationsItem;
|
||||
|
||||
if (this.lockedVaultPendingNotifications.length > 0) {
|
||||
await BrowserApi.closeLoginTab();
|
||||
|
Loading…
Reference in New Issue
Block a user