ESLint: fix indentation

This commit is contained in:
Yury Bondarenko
2023-06-27 16:14:46 +02:00
parent b505cbc690
commit 0690a201dc
410 changed files with 3488 additions and 3488 deletions

View File

@@ -50,9 +50,9 @@ export class EditItemPageComponent implements OnInit {
let enabled = observableOf(true);
if (isNotEmpty(child.canActivate)) {
enabled = observableCombineLatest(child.canActivate.map((guardConstructor: GenericConstructor<CanActivate>) => {
const guard: CanActivate = this.injector.get<CanActivate>(guardConstructor);
return guard.canActivate(this.route.snapshot, this.router.routerState.snapshot);
})
const guard: CanActivate = this.injector.get<CanActivate>(guardConstructor);
return guard.canActivate(this.route.snapshot, this.router.routerState.snapshot);
})
).pipe(
map((canActivateOutcomes: any[]) => canActivateOutcomes.every((e) => e === true))
);