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

put message no results in card

parent a13b340b
No related branches found
No related tags found
No related merge requests found
Pipeline #130808 passed
...@@ -50,9 +50,11 @@ const sanitizedGenes = computed(() => { ...@@ -50,9 +50,11 @@ 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-card v-else flat color="transparent">
<v-alert type="info" variant="tonal"> <v-card-text>
No gene found. <v-alert type="info" variant="tonal">
</v-alert> No gene found
</v-else> </v-alert>
</v-card-text>
</v-card>
</template> </template>
...@@ -37,7 +37,12 @@ const sanitizedHmmer = computed(() => { ...@@ -37,7 +37,12 @@ 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"> <v-card v-else flat color="transparent">
No hmmer hit. <v-card-text>
</v-alert> <v-alert type="info" variant="tonal">
No hmmer hit
</v-alert>
</v-card-text>
</v-card>
</template> </template>
...@@ -37,7 +37,12 @@ const sanitizedSystems = computed(() => { ...@@ -37,7 +37,12 @@ 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"> <v-card v-else flat color="transparent">
No system found. <v-card-text>
</v-alert> <v-alert type="info" variant="tonal">
No system found
</v-alert>
</v-card-text>
</v-card>
</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