diff --git a/app/assets/annotator.js b/app/assets/annotator.js index afd28831c..281fb9c3b 100644 --- a/app/assets/annotator.js +++ b/app/assets/annotator.js @@ -398,7 +398,7 @@ createApp({ }, methods: { isComponentFeatureSelected(componentKey, featureKey) { - let features = this.description?.components[componentKey]?.features || [] + let features = (this.description?.components || {})[componentKey]?.features || [] return features.includes(featureKey) }, loadObjects() {