react-mutation-mapper 0.8.102 → 0.8.103
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/component/civic/CivicCard.spec.d.ts +1 -3
- package/dist/index.es.js +11 -10
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +11 -10
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.es.js
CHANGED
|
@@ -62,15 +62,16 @@ var CivicCard = /** @class */ (function (_super) {
|
|
|
62
62
|
else {
|
|
63
63
|
for (var name_1 in variantMap) {
|
|
64
64
|
var variant = variantMap[name_1];
|
|
65
|
-
var entryTypes =
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
65
|
+
var entryTypes = Object.entries(variant.evidenceCounts)
|
|
66
|
+
.filter(function (_a) {
|
|
67
|
+
_a[0]; var value = _a[1];
|
|
68
|
+
return value !== 0;
|
|
69
|
+
})
|
|
70
|
+
.map(function (_a) {
|
|
71
|
+
var key = _a[0], value = _a[1];
|
|
72
|
+
return key.slice(0, -5) + ": " + value;
|
|
73
|
+
}) // Remove "Count" substring from key
|
|
74
|
+
.join(', ');
|
|
74
75
|
list.push(this.variantItem(name_1, variant.url, variant.name, entryTypes, variant.description));
|
|
75
76
|
}
|
|
76
77
|
}
|
|
@@ -10266,7 +10267,7 @@ var DefaultMutationMapperStore = /** @class */ (function () {
|
|
|
10266
10267
|
invoke: function () { return __awaiter(_this, void 0, void 0, function () {
|
|
10267
10268
|
return __generator(this, function (_a) {
|
|
10268
10269
|
return [2 /*return*/, this.config.enableCivic
|
|
10269
|
-
? fetchCivicGenes(this.mutationData.result || []
|
|
10270
|
+
? fetchCivicGenes(this.mutationData.result || [])
|
|
10270
10271
|
: {}];
|
|
10271
10272
|
});
|
|
10272
10273
|
}); },
|