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

Fixed lint warnings (#1655)

This commit is contained in:
Vincent Salucci
2021-03-02 12:31:52 -06:00
committed by GitHub
parent 1a59c542bd
commit 61d7fcfc85
17 changed files with 48 additions and 41 deletions

View File

@@ -57,7 +57,7 @@ export class ViewComponent extends BaseViewComponent {
ngOnInit() {
this.inPopout = this.popupUtilsService.inPopout(window);
const queryParamsSub = this.route.queryParams.subscribe(async (params) => {
const queryParamsSub = this.route.queryParams.subscribe(async params => {
if (params.cipherId) {
this.cipherId = params.cipherId;
} else {
@@ -155,7 +155,7 @@ export class ViewComponent extends BaseViewComponent {
if (this.cipher.login.uris == null) {
this.cipher.login.uris = [];
} else {
if (this.cipher.login.uris.some((uri) => uri.uri === this.tab.url)) {
if (this.cipher.login.uris.some(uri => uri.uri === this.tab.url)) {
this.platformUtilsService.showToast('success', null,
this.i18nService.t('autoFillSuccessAndSavedUri'));
return;