From 83b6a68fc600c7d03455ea94c258c9bb01b90663 Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Wed, 10 Jan 2024 22:03:26 +0100
Subject: [PATCH] landscape false

---
 components/content/MolstarPdbePlugin.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/content/MolstarPdbePlugin.vue b/components/content/MolstarPdbePlugin.vue
index b1e68f0e..00f24d79 100644
--- a/components/content/MolstarPdbePlugin.vue
+++ b/components/content/MolstarPdbePlugin.vue
@@ -107,7 +107,7 @@ const pdbeMolstarComponent = ref(null)
 const selectedPdb: Ref<string | null> = ref(null)
 const structureToDownload: Ref<string | null> = ref(null)
 const selectedPaePath = computed(() => {
-    return selectedPdb.value ? `${selectedPdb.value.split(".").slice(0, -1).join('.')}.png` : null
+    return selectedPdb.value ? `${selectedPdb.value.split(".").slice(0, -1).join('.')}.png` : undefined
 })
 
 watch(selectedPdb, (newSelectedPdb, prevSelectPdb) => {
@@ -191,7 +191,7 @@ const moleculeFormat: Ref<string> = ref("pdb")
                         <v-sheet v-if="selectedPdb"
                             class="d-flex align-center justify-center flex-wrap text-center mx-auto px-4 my-3"
                             :height="computedHeight" :width="computedWidth" position="relative">
-                            <pdbe-molstar ref="pdbeMolstarComponent" landscape :custom-data-url="selectedPdb" alphafold-view
+                            <pdbe-molstar ref="pdbeMolstarComponent" :custom-data-url="selectedPdb" alphafold-view
                                 sequence-panel :custom-data-format="moleculeFormat"></pdbe-molstar>
                         </v-sheet>
                     </v-col>
-- 
GitLab