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

handle mission matrix

parent 09b96d03
No related branches found
No related tags found
No related merge requests found
Pipeline #127633 waiting for manual action with stages
in 6 minutes and 47 seconds
...@@ -185,17 +185,20 @@ function displayStructure(item) { ...@@ -185,17 +185,20 @@ function displayStructure(item) {
} }
</script> </script>
<template> <template>
<v-row class="d-flex align-content-start" :class="mobile ? 'd-flex-column' : 'd-flex-row'"> <v-row v-if="computedSystem !== null && groupedPdocks?.length > 0" class="d-flex align-content-start"
<v-card v-if="computedSystem !== null && groupedPdocks?.length > 0" v-for="option in computedPDocksMatrixPlotOptions" :class="mobile ? 'd-flex-column' : 'd-flex-row'">
:key="option.legend.label" flat color="transparent"> <v-card v-for="option in computedPDocksMatrixPlotOptions" :key="option.legend.label" flat color="transparent">
<v-card-text> <v-card-text>
<PlotFigure ref="matrixPlot" :options="unref(option)" defer class="pdockq-plot" <PlotFigure ref="matrixPlot" :options="unref(option)" defer class="pdockq-plot"
:data-label="option.legend.label"></PlotFigure> :data-label="option.legend.label"></PlotFigure>
</v-card-text> </v-card-text>
<PdbeMolstarPlugin v-model="stuctureUrls" v-model:title="structureTitle" /> <PdbeMolstarPlugin v-model="stuctureUrls" v-model:title="structureTitle" />
</v-card> </v-card>
<v-card v-else>
<v-alert type="info">No matrix available for this system</v-alert>
</v-card>
</v-row> </v-row>
<v-card v-else flat color="transparent">
<v-card-text>
<v-alert type="info" variant="tonal">No matrix available for this system.</v-alert>
</v-card-text>
</v-card>
</template> </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