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

display message if no matix dock

parent c4185637
No related branches found
No related tags found
No related merge requests found
Pipeline #127631 waiting for manual action with stages
in 6 minutes and 33 seconds
......@@ -185,9 +185,8 @@ function displayStructure(item) {
}
</script>
<template>
<v-row class="d-flex align-content-start" :class="mobile ? 'd-flex-column' : 'd-flex-row'">
<v-card v-if="computedSystem !== null" v-for="option in computedPDocksMatrixPlotOptions"
<v-card v-if="computedSystem !== null && groupedPdocks?.length > 0" v-for="option in computedPDocksMatrixPlotOptions"
:key="option.legend.label" flat color="transparent">
<v-card-text>
<PlotFigure ref="matrixPlot" :options="unref(option)" defer class="pdockq-plot"
......@@ -195,6 +194,8 @@ function displayStructure(item) {
</v-card-text>
<PdbeMolstarPlugin v-model="stuctureUrls" v-model:title="structureTitle" />
</v-card>
<v-card v-else>
<v-alert type="info">No matrix available for this system</v-alert>
</v-card>
</v-row>
</template>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment