Skip to content
Snippets Groups Projects
Commit 0056322e authored by Xiao Gui's avatar Xiao Gui
Browse files

fix: connectivity colormap

parent 5b74418b
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,6 @@ import { Component, ElementRef, ViewChild, Input, SimpleChanges, HostListener,
import { Store, select} from "@ngrx/store";
import { BehaviorSubject, combineLatest, merge, concat, NEVER} from "rxjs";
import { switchMap, map, shareReplay, distinctUntilChanged, withLatestFrom, filter, finalize, debounceTime, takeUntil } from "rxjs/operators";
import { atlasAppearance, atlasSelection } from "src/state";
import { SAPI } from "src/atlasComponents/sapi/sapi.service";
import { of } from "rxjs";
......@@ -209,10 +208,11 @@ export class ConnectivityBrowserComponent implements OnChanges {
* remove custom layer
*/
merge(
this.#accordionExpanded$,
this.colormap$,
this.#accordionExpanded$.pipe(
filter(expanded => !expanded),
),
this.#fetchingMatrix$.pipe(
filter(flag => !!flag)
filter(flag => !!flag),
),
).pipe(
takeUntil(this.#destroy$),
......
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