Skip to content
Snippets Groups Projects
Commit 71550007 authored by Xiao Gui's avatar Xiao Gui Committed by xgui3783
Browse files

bugfix: performance after debounced nav change

parent 056d91cd
No related branches found
No related tags found
No related merge requests found
...@@ -375,8 +375,12 @@ export class NehubaContainer implements OnInit, OnDestroy{ ...@@ -375,8 +375,12 @@ export class NehubaContainer implements OnInit, OnDestroy{
this.subscriptions.push( this.subscriptions.push(
combineLatest( combineLatest(
this.selectedRegions$, this.selectedRegions$.pipe(
this.hideSegmentations$, distinctUntilChanged()
),
this.hideSegmentations$.pipe(
distinctUntilChanged()
),
this.ngLayers$.pipe( this.ngLayers$.pipe(
map(state => state.forceShowSegment) map(state => state.forceShowSegment)
) )
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment