Skip to content

Commit 518c220

Browse files
committed
update metakg bundle
1 parent 7ace594 commit 518c220

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/templates/metakg.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ <h5 class="white-text">
115115
</div>
116116
</div>
117117
</template>
118-
<template v-for="item in results">
118+
<template v-for="(item, index) in results" :key="item.association.smartapi.id+index">
119119
<div class="collection-item resultRow row" @mouseenter="highlightRow(item)"
120120
@mouseleave="unhighlightRow(item)" style="padding: 3px;">
121121
<div class="col s12 left">
@@ -189,7 +189,7 @@ <h4>No Results, Please Refine Your Query</h4>
189189
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.4.2/vue.min.js"></script>
190190
<script src="/static/js/clipboard.js"></script>
191191
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.4/lodash.min.js"></script>
192-
<script type="text/javascript" src="https://unpkg.com/@biothings-explorer/smartapi-kg@2.2.10/bundle.js"></script>
192+
<script type="text/javascript" src=" https://unpkg.com/@biothings-explorer/smartapi-kg@3.1.1/bundle.js"></script>
193193
<script src="https://cdnjs.cloudflare.com/ajax/libs/cytoscape/3.15.1/cytoscape.min.js"
194194
integrity="sha256-oYPiLQ2sL4jlYuCJE3rDZFD0OUy8t1fL6U0wIWyqUf8=" crossorigin="anonymous"></script>
195195
<script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js"></script>
@@ -1340,7 +1340,7 @@ <h4>No Results, Please Refine Your Query</h4>
13401340
async loadKG() {
13411341
var self = this;
13421342

1343-
let meta_kg = new kg();
1343+
let meta_kg = new MetaKG();
13441344
//load meta-kg API graph with reasoner APIs
13451345
const t0 = performance.now();
13461346
await meta_kg.constructMetaKG(includeReasoner = true);

0 commit comments

Comments
 (0)