1
0
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:
Daniel James Smith 2021-10-19 11:20:55 +02:00
parent 2299abe7a6
commit d4e91a81f9
No known key found for this signature in database
GPG Key ID: 03E4BD365FF06726
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
export default class lockedVaultPendingNotificationsItem {
export default class LockedVaultPendingNotificationsItem {
commandToRetry: {
msg: any;
sender: chrome.runtime.MessageSender;

View File

@ -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,

View File

@ -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();