Skip to content

Commit

Permalink
fix(layermanager): takeUntilDestroyed as last operator
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipLeitner authored and jmacura committed Nov 26, 2024
1 parent a34af31 commit b13880b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ export class HsLayerEditorWidgetBaseComponent

this.hsLayerSelectorService.layerSelected
.pipe(
takeUntilDestroyed(this.destroyRef),
filter((layer) => !!layer),
takeUntilDestroyed(this.destroyRef),
)
.subscribe((layer) => {
this.layerDescriptor.next(layer);
Expand Down

0 comments on commit b13880b

Please sign in to comment.