From 2c2c2be14b99a221370fe9eefca7db51aa5969bb Mon Sep 17 00:00:00 2001
From: David Mendez <dmendez@ebi.ac.uk>
Date: Mon, 23 Aug 2021 11:34:14 +0100
Subject: [PATCH] Use real data for compounds PDBe Visualisations

---
 .vscode/launch.json                               | 15 +++++++++++++++
 .../CrystalStructures/PDBeVisualisations.vue      |  6 ++----
 2 files changed, 17 insertions(+), 4 deletions(-)
 create mode 100644 .vscode/launch.json

diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 0000000..7a9dfa0
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,15 @@
+{
+    // Use IntelliSense to learn about possible attributes.
+    // Hover to view descriptions of existing attributes.
+    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
+    "version": "0.2.0",
+    "configurations": [
+        {
+            "type": "pwa-chrome",
+            "request": "launch",
+            "name": "Launch Chrome against localhost",
+            "url": "http://localhost:8080",
+            "webRoot": "${workspaceFolder}"
+        }
+    ]
+}
\ No newline at end of file
diff --git a/components/report_cards/shared/CrystalStructures/PDBeVisualisations.vue b/components/report_cards/shared/CrystalStructures/PDBeVisualisations.vue
index cc0d691..61ef999 100644
--- a/components/report_cards/shared/CrystalStructures/PDBeVisualisations.vue
+++ b/components/report_cards/shared/CrystalStructures/PDBeVisualisations.vue
@@ -1,12 +1,10 @@
 <template>
   <v-card outlined tile>
-    thereAreMolecules: {{ thereAreMolecules }}, pdbeMolecules:
-    {{ pdbeMolecules }}
     <v-skeleton-loader v-if="loading" type="image"></v-skeleton-loader>
-    <template v-if="!loading && !thereAreRefs">
+    <template v-if="!loading && !thereAreMolecules">
       <v-card-text> No entires found in PDB for {{ ligandCode }} </v-card-text>
     </template>
-    <template v-if="!loading && thereAreRefs">
+    <template v-if="!loading && thereAreMolecules">
       <v-card-text>
         <v-card-title> PDB ligand code: {{ ligandCode }} </v-card-title>
         <v-row>
-- 
GitLab