From 1979646455b727af2029346a5e14708f6ff76cd8 Mon Sep 17 00:00:00 2001 From: Mary Salvi Date: Thu, 27 Jul 2023 20:05:27 -0400 Subject: [PATCH] Disable data object table if there is no processed data --- web/src/components/SampleListExpansion.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/src/components/SampleListExpansion.vue b/web/src/components/SampleListExpansion.vue index 7a7b7523..e7f29c33 100644 --- a/web/src/components/SampleListExpansion.vue +++ b/web/src/components/SampleListExpansion.vue @@ -74,7 +74,9 @@ export default defineComponent({ x-small :outlined="!isOpen(projects[0].id)" :color="isOpen(projects[0].id) ? 'primary' : 'default'" + :disabled="projects[0].omics_data.length == 0 ? true : false" class="mr-2 mt-2" + @click="() => $emit('open-details', projects[0].id)" > {{ fieldDisplayName(omicsType) }}