@abi-software/map-side-bar 1.2.0 → 1.2.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/map-side-bar.common.js +36 -37
- package/dist/map-side-bar.common.js.map +1 -1
- package/dist/map-side-bar.css +1 -1
- package/dist/map-side-bar.umd.js +36 -37
- package/dist/map-side-bar.umd.js.map +1 -1
- package/dist/map-side-bar.umd.min.js +1 -1
- package/dist/map-side-bar.umd.min.js.map +1 -1
- package/package-lock.json +1 -1
- package/package.json +1 -1
- package/scaffold_context_info.json +3 -1
- package/src/components/SidebarContent.vue +2 -4
package/package-lock.json
CHANGED
package/package.json
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"id": "Sample 1",
|
|
12
12
|
"path": "",
|
|
13
13
|
"view": "View 1",
|
|
14
|
+
"color": "#FFFF00",
|
|
14
15
|
"thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/orange.png"
|
|
15
16
|
},
|
|
16
17
|
{
|
|
@@ -21,8 +22,9 @@
|
|
|
21
22
|
"id": "Sample 2",
|
|
22
23
|
"path": "",
|
|
23
24
|
"view": "View 2",
|
|
25
|
+
"color": "#FFA500",
|
|
24
26
|
"thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/teal.png"
|
|
25
27
|
}
|
|
26
28
|
],
|
|
27
|
-
"version": "0.1.0"
|
|
29
|
+
"version": "0.1.0"
|
|
28
30
|
}
|
|
@@ -276,7 +276,7 @@ export default {
|
|
|
276
276
|
organs: (element.organs && element.organs.length > 0)
|
|
277
277
|
? [...new Set(element.organs.map(v => v.name))]
|
|
278
278
|
: undefined,
|
|
279
|
-
species: element.organisms
|
|
279
|
+
species: element.organisms
|
|
280
280
|
? element.organisms[0].species
|
|
281
281
|
? [...new Set(element.organisms.map((v) =>v.species ? v.species.name : null))]
|
|
282
282
|
: undefined
|
|
@@ -284,9 +284,7 @@ export default {
|
|
|
284
284
|
id: id,
|
|
285
285
|
scaffolds: element['abi-scaffold-metadata-file'] ? element['abi-scaffold-metadata-file'] : undefined,
|
|
286
286
|
contextualInformation: element['abi-contextual-information'].length > 0 ? element['abi-contextual-information'] : undefined,
|
|
287
|
-
simulation: element
|
|
288
|
-
? element.additionalLinks[0].description == 'Repository'
|
|
289
|
-
: false,
|
|
287
|
+
simulation: element['abi-simulation-file'],
|
|
290
288
|
});
|
|
291
289
|
id++;
|
|
292
290
|
|