ESLint: fix dangling commas

This commit is contained in:
Yury Bondarenko
2023-06-27 16:23:06 +02:00
parent 725dbc3743
commit 917c36dbe7
1789 changed files with 12452 additions and 12452 deletions

View File

@@ -15,8 +15,8 @@ import { GenericConstructor } from '../../core/shared/generic-constructor';
changeDetection: ChangeDetectionStrategy.OnPush,
animations: [
fadeIn,
fadeInOut
]
fadeInOut,
],
})
/**
* Page component for editing an item
@@ -52,9 +52,9 @@ export class EditItemPageComponent implements OnInit {
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);
})
}),
).pipe(
map((canActivateOutcomes: any[]) => canActivateOutcomes.every((e) => e === true))
map((canActivateOutcomes: any[]) => canActivateOutcomes.every((e) => e === true)),
);
}
return { page: child.path, enabled: enabled };