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

Merge pull request #137 from HumanBrainProject/pr_databFilterUseId

bugfix: restore data filter use id
parents baa7ee02 47e968f6
No related branches found
No related tags found
No related merge requests found
import { Pipe, PipeTransform } from "@angular/core";
import { DataEntry } from "src/services/stateStore.service";
const isSubRegion = (high, low) => high.name === low.name
const isSubRegion = (high, low) => (high.id && low.id && high.id === low.id) || high.name === low.name
? true
: high.children && high.children.some
? high.children.some(r => isSubRegion(r, low))
......
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