mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-24 12:06:15 +01:00
formatting
This commit is contained in:
parent
ceb4f3771d
commit
f8759cc17a
@ -4,12 +4,13 @@ import MainBackground from './main.background';
|
|||||||
|
|
||||||
import { Analytics } from 'jslib/misc';
|
import { Analytics } from 'jslib/misc';
|
||||||
|
|
||||||
import { TotpService } from 'jslib/abstractions';
|
|
||||||
import { CipherService } from 'jslib/abstractions/cipher.service';
|
import { CipherService } from 'jslib/abstractions/cipher.service';
|
||||||
import { EventService } from 'jslib/abstractions/event.service';
|
import { EventService } from 'jslib/abstractions/event.service';
|
||||||
import { LockService } from 'jslib/abstractions/lock.service';
|
import { LockService } from 'jslib/abstractions/lock.service';
|
||||||
import { PasswordGenerationService } from 'jslib/abstractions/passwordGeneration.service';
|
import { PasswordGenerationService } from 'jslib/abstractions/passwordGeneration.service';
|
||||||
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
|
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
|
||||||
|
import { TotpService } from 'jslib/abstractions/totp.service';
|
||||||
|
|
||||||
import { EventType } from 'jslib/enums/eventType';
|
import { EventType } from 'jslib/enums/eventType';
|
||||||
|
|
||||||
export default class ContextMenusBackground {
|
export default class ContextMenusBackground {
|
||||||
@ -31,9 +32,9 @@ export default class ContextMenusBackground {
|
|||||||
if (info.menuItemId === 'generate-password') {
|
if (info.menuItemId === 'generate-password') {
|
||||||
await this.generatePasswordToClipboard();
|
await this.generatePasswordToClipboard();
|
||||||
} else if (info.parentMenuItemId === 'autofill' ||
|
} else if (info.parentMenuItemId === 'autofill' ||
|
||||||
info.parentMenuItemId === 'copy-username' ||
|
info.parentMenuItemId === 'copy-username' ||
|
||||||
info.parentMenuItemId === 'copy-password' ||
|
info.parentMenuItemId === 'copy-password' ||
|
||||||
info.parentMenuItemId === 'copy-totp') {
|
info.parentMenuItemId === 'copy-totp') {
|
||||||
await this.cipherAction(info);
|
await this.cipherAction(info);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user