We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf28f6d commit 1f8c895Copy full SHA for 1f8c895
web/src/components/DataObjectTable.vue
@@ -122,7 +122,7 @@ export default defineComponent({
122
if (annotations.eluent_introduction_category) {
123
omicsCopy.eluentIntroductionCategory = EluentIntroductionCategoryEnum.permissible_values[annotations.eluent_introduction_category].title;
124
}
125
- if (annotations.sampled_portions.length) {
+ if (annotations.sampled_portions?.length) {
126
const displaySampledPortions = (annotations.sampled_portions as string[]).map((sampledPortion: string) => (
127
SamplePortionEnum.permissible_values[sampledPortion].title
128
|| SamplePortionEnum.permissible_values[sampledPortion].text
0 commit comments