Skip to content

Commit

Permalink
feat: remove this.loading as it has no effect
Browse files Browse the repository at this point in the history
  • Loading branch information
cmoinier authored and tkohr committed Jun 25, 2024
1 parent 22bcf5f commit 2e6d828
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libs/feature/record/src/lib/map-view/map-view.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,14 @@ export class MapViewComponent implements OnInit, OnDestroy {
)

dropdownChoices$ = this.compatibleMapLinks$.pipe(
tap(() => (this.loading = true)),
map((links) =>
links.length
? links.map((link, index) => ({
label: getLinkLabel(link),
value: index,
}))
: [{ label: 'No preview layer', value: 0 }]
),
finalize(() => (this.loading = false))
)
)
selectedLinkIndex$ = new BehaviorSubject(0)

Expand Down

0 comments on commit 2e6d828

Please sign in to comment.