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{
this.subscriptions.push(
combineLatest(
this.selectedRegions$,
this.hideSegmentations$,
this.selectedRegions$.pipe(
distinctUntilChanged()
),
this.hideSegmentations$.pipe(
distinctUntilChanged()
),
this.ngLayers$.pipe(
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