diff --git a/components/content/MolstarPdbePlugin.vue b/components/content/MolstarPdbePlugin.vue index f079a1371af48eb3c31d934bf82480f4bd2fc145..8b80afbb18bacaa5888b78b9293325e599562122 100644 --- a/components/content/MolstarPdbePlugin.vue +++ b/components/content/MolstarPdbePlugin.vue @@ -210,7 +210,7 @@ const moleculeFormat: Ref<string> = ref("pdb") sequence-panel="true" landscape="false" :custom-data-format="moleculeFormat"></pdbe-molstar> </v-sheet> </v-col> - <v-col :cols="mobile ? 12 : undefined"> + <v-col v-if="moleculeFormat === 'cif'" :cols="mobile ? 12 : undefined"> <v-img :src="selectedPaePath"></v-img> <!-- <PlotFigure v-if="sanitizedPaeData?.length > 0 && paeError === null" defer diff --git a/components/content/RefseqDb.vue b/components/content/RefseqDb.vue index 4056d43c96cf82ff27325ab12acce526f2dca17f..b4ed606d8f64e22f5f611aad9862134b5c14ed49 100644 --- a/components/content/RefseqDb.vue +++ b/components/content/RefseqDb.vue @@ -107,11 +107,13 @@ const scaleTypes = ref<string[]>(['linear', 'sqrt', 'log', 'symlog']) const selectedTaxoRank = ref("Superkingdom"); const headers = ref([ - { title: "Replicon", key: "replicon" }, { title: "System", key: "type", + fixed: true }, + { title: "Replicon", key: "replicon" }, + { title: "Subsystem", key: "subtype", @@ -474,14 +476,16 @@ async function downloadPng(component: ComponentPublicInstance | null, filename: </CollapsibleChips> </template> <template #[`item.type`]="{ item }"> - <v-chip color="info" link size="small" :to="`/defense-systems/${item.type.toLowerCase()}`" target="_blank"> {{ - item.type }} + <v-chip color="info" link size="small" :to="`/defense-systems/${item.type.toLowerCase()}`" + target="_blank"> {{ + item.type }} </v-chip> </template> <template #[`item.subtype`]="{ item }"> - <v-chip color="info" link size="small" :to="`/defense-systems/${item.type.toLowerCase()}`" target="_blank"> {{ - item.subtype }} + <v-chip color="info" link size="small" :to="`/defense-systems/${item.type.toLowerCase()}`" + target="_blank"> {{ + item.subtype }} </v-chip> </template> </ServerDbTable>