1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 03:03:43 +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,12 +35,12 @@ export class ProjectPeopleComponent implements OnInit, OnDestroy {
switchMap(([params]) =>
this.accessPolicyService.getProjectPeopleAccessPolicies(params.projectId).then((policies) => {
return convertToAccessPolicyItemViews(policies);
})
}),
),
catchError(() => {
this.router.navigate(["/sm", this.organizationId, "projects"]);
return EMPTY;
})
}),
);
private potentialGrantees$ = combineLatest([this.route.params]).pipe(
@@ -49,8 +49,8 @@ export class ProjectPeopleComponent implements OnInit, OnDestroy {
.getPeoplePotentialGrantees(params.organizationId)
.then((grantees) => {
return convertPotentialGranteesToApItemViewType(grantees);
})
)
}),
),
);
protected formGroup = new FormGroup({
@@ -69,7 +69,7 @@ export class ProjectPeopleComponent implements OnInit, OnDestroy {
private router: Router,
private platformUtilsService: PlatformUtilsService,
private i18nService: I18nService,
private accessPolicySelectorService: AccessPolicySelectorService
private accessPolicySelectorService: AccessPolicySelectorService,
) {}
ngOnInit(): void {
@@ -101,7 +101,7 @@ export class ProjectPeopleComponent implements OnInit, OnDestroy {
const showAccessRemovalWarning =
await this.accessPolicySelectorService.showAccessRemovalWarning(
this.organizationId,
this.formGroup.value.accessPolicies
this.formGroup.value.accessPolicies,
);
if (showAccessRemovalWarning) {
@@ -115,11 +115,11 @@ export class ProjectPeopleComponent implements OnInit, OnDestroy {
try {
const projectPeopleView = convertToProjectPeopleAccessPoliciesView(
this.projectId,
this.formGroup.value.accessPolicies
this.formGroup.value.accessPolicies,
);
const peoplePoliciesViews = await this.accessPolicyService.putProjectPeopleAccessPolicies(
this.projectId,
projectPeopleView
projectPeopleView,
);
this.currentAccessPolicies = convertToAccessPolicyItemViews(peoplePoliciesViews);
@@ -129,7 +129,7 @@ export class ProjectPeopleComponent implements OnInit, OnDestroy {
this.platformUtilsService.showToast(
"success",
null,
this.i18nService.t("projectAccessUpdated")
this.i18nService.t("projectAccessUpdated"),
);
} catch (e) {
this.validationService.showError(e);