@abi-software/flatmapvuer 0.3.16-beta-0 → 0.3.16

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/flatmapvuer",
3
- "version": "0.3.16-beta-0",
3
+ "version": "0.3.16",
4
4
  "main": "./dist/flatmapvuer.common.js",
5
5
  "files": [
6
6
  "dist/*",
@@ -9,7 +9,7 @@
9
9
  </div>
10
10
  <div class="content-container scrollbar">
11
11
  {{content.paths}}
12
- <div v-if="origins && origins.length > 0" class="block">
12
+ <div v-if="this.origins" class="block">
13
13
  <div>
14
14
  <span class="attribute-title">Origin</span>
15
15
  <el-popover
@@ -32,14 +32,14 @@
32
32
  Explore origin data
33
33
  </el-button>
34
34
  </div>
35
- <div v-if="components && components.length > 0" class="block">
35
+ <div v-if="this.components" class="block">
36
36
  <div class="attribute-title">Components</div>
37
37
  <div v-for="(component, i) in components" class="attribute-content" :key="component">
38
38
  {{ capitalise(component) }}
39
39
  <div v-if="i != components.length - 1" class="seperator"></div>
40
40
  </div>
41
41
  </div>
42
- <div v-if="destinations && destinations.length > 0" class="block">
42
+ <div v-if="this.destinations" class="block">
43
43
  <div>
44
44
  <span class="attribute-title">Destination</span>
45
45
  <el-popover
@@ -63,7 +63,7 @@
63
63
  </el-button>
64
64
  </div>
65
65
 
66
- <el-button v-show="componentsWithDatasets.length > 0" class="button" @click="openAll">
66
+ <el-button v-show="components.length > 0" class="button" @click="openAll">
67
67
  Search for data on components
68
68
  </el-button>
69
69
 
@@ -191,7 +191,7 @@ export default {
191
191
  window.open(url, '_blank')
192
192
  },
193
193
  openAll: function(){
194
- EventBus.$emit('onActionClick', {type:'Facets', labels: this.componentsWithDatasets.map(a=>a.name)})
194
+ EventBus.$emit('onActionClick', {type:'Facets', labels: this.components})
195
195
  },
196
196
  openAxons: function(){
197
197
  EventBus.$emit('onActionClick', {type:'Facets', labels: this.destinationsWithDatasets.map(a=>a.name)})