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

chore: fixed receptor rendering condition

parent 534dcd21
No related branches found
No related tags found
No related merge requests found
<mat-select [(value)]="selectedREntryId">
<!-- potential selector for receptor data -->
<mat-select class="invisible" [(value)]="selectedREntryId">
<mat-option *ngFor="let rec of receptorsSummary$ | async"
[value]="rec['@id']">
{{ rec.name }}
......
......@@ -21,7 +21,7 @@ export class BsFeatureReceptorDirective extends BsRegionInputBase implements OnD
switchMap(val => merge(
of(null),
this.featureReceptorService.getReceptorRegionalFeature(val).pipe(
mapTo(true),
map(arr => arr.length > 0),
catchError(() => of(false))
)
)),
......
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