@abi-software/flatmapvuer 0.3.0-beta-0 → 0.3.0-beta-1
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/dist/flatmapvuer.common.js +30 -29
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +30 -29
- package/dist/flatmapvuer.umd.js.map +1 -1
- package/dist/flatmapvuer.umd.min.js +1 -1
- package/dist/flatmapvuer.umd.min.js.map +1 -1
- package/package-lock.json +1 -1
- package/package.json +1 -1
- package/src/App.vue +1 -1
- package/src/components/Tooltip.vue +6 -3
package/package-lock.json
CHANGED
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -92,7 +92,7 @@ export default {
|
|
|
92
92
|
initial: "Rat",
|
|
93
93
|
helpMode: false,
|
|
94
94
|
// flatmapAPI: "https://mapcore-demo.org/current/flatmap/v2/"
|
|
95
|
-
//
|
|
95
|
+
//flatmapAPI: "https://mapcore-demo.org/devel/flatmap/v3/"
|
|
96
96
|
flatmapAPI: "https://mapcore-demo.org/fccb/flatmap/"
|
|
97
97
|
// flatmapAPI: "https://mapcore-demo.org/devel/flatmap/v1/"
|
|
98
98
|
}
|
|
@@ -79,7 +79,9 @@ const titleCase = (str) => {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
const capitalise = function(str){
|
|
82
|
-
|
|
82
|
+
if (str)
|
|
83
|
+
return str.charAt(0).toUpperCase() + str.slice(1)
|
|
84
|
+
return ""
|
|
83
85
|
}
|
|
84
86
|
|
|
85
87
|
export default {
|
|
@@ -214,9 +216,10 @@ export default {
|
|
|
214
216
|
body: JSON.stringify(data),
|
|
215
217
|
})
|
|
216
218
|
.then(response => response.json())
|
|
217
|
-
.then(
|
|
219
|
+
.then(payload => {
|
|
218
220
|
uberons.forEach((el,i)=>{
|
|
219
|
-
|
|
221
|
+
if (payload.values[i])
|
|
222
|
+
uberonMap[el] = payload.values[i][0]
|
|
220
223
|
})
|
|
221
224
|
resolve(uberonMap)
|
|
222
225
|
})
|