diff --git a/src/ui/nehubaContainer/nehubaContainer.component.ts b/src/ui/nehubaContainer/nehubaContainer.component.ts index 50920f80cdf6d967cd5e8d851a3ca087bc58d014..ee7632e0ee7a5ed0ca625569fe9ba69f4c0adcc6 100644 --- a/src/ui/nehubaContainer/nehubaContainer.component.ts +++ b/src/ui/nehubaContainer/nehubaContainer.component.ts @@ -375,8 +375,12 @@ export class NehubaContainer implements OnInit, OnDestroy{ this.subscriptions.push( combineLatest( - this.selectedRegions$, - this.hideSegmentations$, + this.selectedRegions$.pipe( + distinctUntilChanged() + ), + this.hideSegmentations$.pipe( + distinctUntilChanged() + ), this.ngLayers$.pipe( map(state => state.forceShowSegment) )