We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d7bbbf commit 703a489Copy full SHA for 703a489
src/js/src/components/StateOfHealth.vue
@@ -180,7 +180,8 @@
180
<button class="button is-light" slot="trigger">
181
<b-icon icon="bars"></b-icon>
182
</button>
183
- <b-dropdown-item v-for="( n, index ) in networks" :key="index" :value="n">
+ <!-- need to fix the below -->
184
+ <b-dropdown-item v-for="( n, index ) in networks" :key="index" :value="n" @click="setEdge(n)">
185
<font color="#202020">{{ n }}</font>
186
</b-dropdown-item>
187
</b-dropdown>
@@ -541,6 +542,11 @@ export default {
541
542
return '#999';
543
},
544
545
+ setEdge( type ) {
546
+ this.showEdgeType = type;
547
+ this.resetNetwork();
548
+ },
549
+
550
generateGraph () {
551
if ( this.nodes == null ) {
552
return;
0 commit comments