1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 23:03:32 +00:00

[deps] Autofill: Update prettier to v3 (#7014)

* [deps] Autofill: Update prettier to v3

* prettier formatting updates

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Prusik <jprusik@classynemesis.com>
This commit is contained in:
renovate[bot]
2023-11-29 16:15:20 -05:00
committed by GitHub
parent 4ff5f38e89
commit 28de9439be
1145 changed files with 5898 additions and 5612 deletions

View File

@@ -35,7 +35,7 @@ export class ShareComponent implements OnInit, OnDestroy {
protected i18nService: I18nService,
protected cipherService: CipherService,
private logService: LogService,
protected organizationService: OrganizationService
protected organizationService: OrganizationService,
) {}
async ngOnInit() {
@@ -56,7 +56,7 @@ export class ShareComponent implements OnInit, OnDestroy {
return orgs
.filter((o) => o.enabled && o.status === OrganizationUserStatusType.Confirmed)
.sort(Utils.getSortFunction(this.i18nService, "name"));
})
}),
);
this.organizations$.pipe(takeUntil(this._destroy)).subscribe((orgs) => {
@@ -67,7 +67,7 @@ export class ShareComponent implements OnInit, OnDestroy {
const cipherDomain = await this.cipherService.get(this.cipherId);
this.cipher = await cipherDomain.decrypt(
await this.cipherService.getKeyForCipherKeyDecryption(cipherDomain)
await this.cipherService.getKeyForCipherKeyDecryption(cipherDomain),
);
this.filterCollections();
@@ -79,7 +79,7 @@ export class ShareComponent implements OnInit, OnDestroy {
this.collections = [];
} else {
this.collections = this.writeableCollections.filter(
(c) => c.organizationId === this.organizationId
(c) => c.organizationId === this.organizationId,
);
}
}
@@ -90,14 +90,14 @@ export class ShareComponent implements OnInit, OnDestroy {
this.platformUtilsService.showToast(
"error",
this.i18nService.t("errorOccurred"),
this.i18nService.t("selectOneCollection")
this.i18nService.t("selectOneCollection"),
);
return;
}
const cipherDomain = await this.cipherService.get(this.cipherId);
const cipherView = await cipherDomain.decrypt(
await this.cipherService.getKeyForCipherKeyDecryption(cipherDomain)
await this.cipherService.getKeyForCipherKeyDecryption(cipherDomain),
);
const orgs = await firstValueFrom(this.organizations$);
const orgName =
@@ -111,7 +111,7 @@ export class ShareComponent implements OnInit, OnDestroy {
this.platformUtilsService.showToast(
"success",
null,
this.i18nService.t("movedItemToOrg", cipherView.name, orgName)
this.i18nService.t("movedItemToOrg", cipherView.name, orgName),
);
});
await this.formPromise;