1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 17:53:39 +00:00

Shorten variable name

This commit is contained in:
Daniel James Smith
2021-10-15 15:35:31 +02:00
parent 79f849fd92
commit f951c860ea

View File

@@ -347,10 +347,10 @@ export default class MainBackground {
return;
}
const lockedVaultPendingNotificationsItem = this.lockedVaultPendingNotifications.pop();
switch (lockedVaultPendingNotificationsItem.from) {
const item = this.lockedVaultPendingNotifications.pop();
switch (item.from) {
case 'notificationBar':
await this.notificationBackground.processMessage(lockedVaultPendingNotificationsItem.commandToRetry, lockedVaultPendingNotificationsItem.commandToRetry.sender, null);
await this.notificationBackground.processMessage(item.commandToRetry, item.commandToRetry.sender, null);
break;
default:
break;