Skip to content
Snippets Groups Projects
Unverified Commit 7b37e4c9 authored by xgui3783's avatar xgui3783 Committed by GitHub
Browse files

Merge pull request #948 from FZJ-INM1-BDA/chore_fixRecetpro

chore: fixed receptor rendering condition
parents 534dcd21 32770931
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