ESLint: fix object-curly-spacing

This commit is contained in:
Yury Bondarenko
2023-06-27 17:29:40 +02:00
parent 436a4d7645
commit 0633460107
280 changed files with 765 additions and 765 deletions

View File

@@ -133,7 +133,7 @@ export class BitstreamRequestACopyPageComponent implements OnInit, OnDestroy {
this.subs.push(observableCombineLatest([this.canDownload$, canRequestCopy$]).subscribe(([canDownload, canRequestCopy]) => {
if (!canDownload && !canRequestCopy) {
this.router.navigateByUrl(getForbiddenRoute(), {skipLocationChange: true});
this.router.navigateByUrl(getForbiddenRoute(), { skipLocationChange: true });
}
}));
this.initValues();
@@ -160,13 +160,13 @@ export class BitstreamRequestACopyPageComponent implements OnInit, OnDestroy {
*/
private initValues() {
this.getCurrentUser().pipe(take(1)).subscribe((user) => {
this.requestCopyForm.patchValue({allfiles: 'true'});
this.requestCopyForm.patchValue({ allfiles: 'true' });
if (hasValue(user)) {
this.requestCopyForm.patchValue({name: user.name, email: user.email});
this.requestCopyForm.patchValue({ name: user.name, email: user.email });
}
});
this.bitstream$.pipe(take(1)).subscribe((bitstream) => {
this.requestCopyForm.patchValue({allfiles: 'false'});
this.requestCopyForm.patchValue({ allfiles: 'false' });
});
}