This commit is contained in:
Lachlan Kermode
2020-06-18 10:24:28 +02:00
parent 00105711a8
commit 00a8080eba
11 changed files with 29 additions and 36 deletions

View File

@@ -28,9 +28,9 @@ class TimelineCategories extends React.Component {
const { features, dims } = this.props
const { category } = cat
const strokeWidth = 1 // dims.trackHeight / (this.props.categories.length + 1)
if (features.GRAPH_NONLOCATED
&& features.GRAPH_NONLOCATED.categories
&& features.GRAPH_NONLOCATED.categories.includes(category)) {
if (features.GRAPH_NONLOCATED &&
features.GRAPH_NONLOCATED.categories &&
features.GRAPH_NONLOCATED.categories.includes(category)) {
return null
}