@abi-software/map-side-bar 1.1.18-fixes-1 → 1.1.18-fixes-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/map-side-bar",
3
- "version": "1.1.18-fixes-1",
3
+ "version": "1.1.18-fixes-2",
4
4
  "main": "./dist/map-side-bar.common.js",
5
5
  "files": [
6
6
  "dist/*",
@@ -20,7 +20,7 @@
20
20
  <br v-bind:key="i"/>
21
21
  </template>
22
22
  <div style="margin-bottom: 16px;"/>
23
- <div v-if="contextData.samples" class="subtitle">Samples on Scaffold</div>
23
+ <div v-if="contextData.samples && contextData.samples.length > 0" class="subtitle">Samples on Scaffold</div>
24
24
  <template v-for="(sample, i) in contextData.samples">
25
25
  <span v-bind:key="i+'_3'" class="context-card-item" @click="toggleSampleDetails(i)">
26
26
  <div v-bind:key="i+'_6'" style="display: flex">
@@ -110,6 +110,7 @@ export default {
110
110
  })
111
111
  .then((data) => {
112
112
  this.contextData = data
113
+ console.log(data)
113
114
  this.loading = false
114
115
  })
115
116
  .catch(() => {