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

Merge pull request #178 from HumanBrainProject/triage_regionFiltering

remove console
parents 47936e74 38fca255
No related branches found
No related tags found
No related merge requests found
...@@ -14,11 +14,6 @@ export class FilterCollapsePipe implements PipeTransform{ ...@@ -14,11 +14,6 @@ export class FilterCollapsePipe implements PipeTransform{
? false ? false
: !defaultCollapse : !defaultCollapse
} }
console.log({
array,
collapsedLevels,
uncollapsedLevels
})
const returnArray = array.filter(item => { const returnArray = array.filter(item => {
return !item.lvlId.split('_') return !item.lvlId.split('_')
.filter((v,idx,arr) => idx < arr.length -1 ) .filter((v,idx,arr) => idx < arr.length -1 )
...@@ -28,8 +23,6 @@ export class FilterCollapsePipe implements PipeTransform{ ...@@ -28,8 +23,6 @@ export class FilterCollapsePipe implements PipeTransform{
: acc[acc.length -1].concat(`_${curr}`)), []) : acc[acc.length -1].concat(`_${curr}`)), [])
.some(id => isCollapsedById(id)) .some(id => isCollapsedById(id))
}) })
console.log(returnArray)
return returnArray return returnArray
} }
} }
\ No newline at end of file
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