Skip to content
Snippets Groups Projects
Commit eb80d1fe authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

add message empty results

parent 81be6f54
No related branches found
No related tags found
No related merge requests found
Pipeline #130707 passed
...@@ -50,4 +50,9 @@ const sanitizedGenes = computed(() => { ...@@ -50,4 +50,9 @@ const sanitizedGenes = computed(() => {
</script> </script>
<template> <template>
<AnalysisResultDataTable v-if="sanitizedGenes.length > 0" :items="sanitizedGenes" :headers="headers" /> <AnalysisResultDataTable v-if="sanitizedGenes.length > 0" :items="sanitizedGenes" :headers="headers" />
<v-else>
<v-alert type="info" variant="tonal">
No gene found.
</v-alert>
</v-else>
</template> </template>
...@@ -11,7 +11,7 @@ const { data: hmmers, error } = await useAPI<HmmersOut>( ...@@ -11,7 +11,7 @@ const { data: hmmers, error } = await useAPI<HmmersOut>(
if (error.value) { if (error.value) {
throw createError({ message: `Error while getting the list of hmmer for analysis ${route.params.analysisId}` }) throw createError({ message: `Error while getting the list of hmmer for analysis ${route.params.analysisId}` })
} }
const headers = ref([ const headers = ref([
...@@ -37,4 +37,7 @@ const sanitizedHmmer = computed(() => { ...@@ -37,4 +37,7 @@ const sanitizedHmmer = computed(() => {
</script> </script>
<template> <template>
<AnalysisResultDataTable v-if="sanitizedHmmer.length > 0" :items="sanitizedHmmer" :headers="headers" /> <AnalysisResultDataTable v-if="sanitizedHmmer.length > 0" :items="sanitizedHmmer" :headers="headers" />
<v-alert type="info" variant="tonal">
No hmmer hit.
</v-alert>
</template> </template>
...@@ -37,4 +37,7 @@ const sanitizedSystems = computed(() => { ...@@ -37,4 +37,7 @@ const sanitizedSystems = computed(() => {
</script> </script>
<template> <template>
<AnalysisResultDataTable v-if="sanitizedSystems.length > 0" :items="sanitizedSystems" :headers="headers" /> <AnalysisResultDataTable v-if="sanitizedSystems.length > 0" :items="sanitizedSystems" :headers="headers" />
<v-alert type="info" variant="tonal">
No system found.
</v-alert>
</template> </template>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment