1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 14:53:33 +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

@@ -27,7 +27,7 @@ export class BitActionDirective implements OnDestroy {
constructor(
private buttonComponent: ButtonLikeAbstraction,
@Optional() private validationService?: ValidationService,
@Optional() private logService?: LogService
@Optional() private logService?: LogService,
) {}
get loading() {
@@ -55,7 +55,7 @@ export class BitActionDirective implements OnDestroy {
},
}),
finalize(() => (this.loading = false)),
takeUntil(this.destroy$)
takeUntil(this.destroy$),
)
.subscribe();
}

View File

@@ -28,7 +28,7 @@ export class BitSubmitDirective implements OnInit, OnDestroy {
constructor(
private formGroupDirective: FormGroupDirective,
@Optional() validationService?: ValidationService,
@Optional() logService?: LogService
@Optional() logService?: LogService,
) {
formGroupDirective.ngSubmit
.pipe(
@@ -46,10 +46,10 @@ export class BitSubmitDirective implements OnInit, OnDestroy {
logService?.error(`Async submit exception: ${err}`);
validationService?.showError(err);
return of(undefined);
})
}),
);
}),
takeUntil(this.destroy$)
takeUntil(this.destroy$),
)
.subscribe({
next: () => (this.loading = false),

View File

@@ -33,7 +33,7 @@ export class BitFormButtonDirective implements OnDestroy {
constructor(
buttonComponent: ButtonLikeAbstraction,
@Optional() submitDirective?: BitSubmitDirective,
@Optional() actionDirective?: BitActionDirective
@Optional() actionDirective?: BitActionDirective,
) {
if (submitDirective && buttonComponent) {
submitDirective.loading$.pipe(takeUntil(this.destroy$)).subscribe((loading) => {