Skip to content

Commit

Permalink
Remove switchMap that was not used
Browse files Browse the repository at this point in the history
  • Loading branch information
jggoebel committed Dec 11, 2024
1 parent 0f0d02c commit d55f014
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/app/dashboards/users-dashboard/users-dashboard.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,21 +110,10 @@ export class UsersDashboardComponent implements OnInit {
users: of(users),
progresses: of(progresses),
otacs: of(otacs),
categories: of(categories),
dynamicScenarios: this.listDynamicScenarios(categories),
eventScenarioIds: of(eventScenarioIds),
});
}),
switchMap(
({ users, progresses, otacs, categories, eventScenarioIds }) => {
return forkJoin({
users: of(users),
progresses: of(progresses),
otacs: of(otacs),
dynamicScenarios: this.listDynamicScenarios(categories),
eventScenarioIds: of(eventScenarioIds),
});
},
),
)
.subscribe(
({ users, progresses, otacs, dynamicScenarios, eventScenarioIds }) => {
Expand Down

0 comments on commit d55f014

Please sign in to comment.