Skip to content

Commit 703a489

Browse files
committed
fix: (temp) added reset network func until we can determine why links are not updating in generate graph
1 parent 5d7bbbf commit 703a489

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: src/js/src/components/StateOfHealth.vue

+7-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,8 @@
180180
<button class="button is-light" slot="trigger">
181181
<b-icon icon="bars"></b-icon>
182182
</button>
183-
<b-dropdown-item v-for="( n, index ) in networks" :key="index" :value="n">
183+
<!-- need to fix the below -->
184+
<b-dropdown-item v-for="( n, index ) in networks" :key="index" :value="n" @click="setEdge(n)">
184185
<font color="#202020">{{ n }}</font>
185186
</b-dropdown-item>
186187
</b-dropdown>
@@ -541,6 +542,11 @@ export default {
541542
return '#999';
542543
},
543544
545+
setEdge( type ) {
546+
this.showEdgeType = type;
547+
this.resetNetwork();
548+
},
549+
544550
generateGraph () {
545551
if ( this.nodes == null ) {
546552
return;

0 commit comments

Comments
 (0)