diff --git a/cmd/ui/front/src/components/Widget.vue b/cmd/ui/front/src/components/Widget.vue index ef1373a..68e1127 100644 --- a/cmd/ui/front/src/components/Widget.vue +++ b/cmd/ui/front/src/components/Widget.vue @@ -36,7 +36,7 @@ //- Few options - addons layout .field.has-addons(v-if="widget.options.length < 5") .control(v-for="(opt, i) in widget.options") - button.button(:class="{'is-info': i == widget.value}" @click="setValue(i)") {{opt}} + button.button(:class="{'is-info': i == value}" @click="setValue(i)") {{opt}} //- Many options - flex layout .many.is-flex.is-flex-wrap-wrap.is-justify-content-space-around(v-else) @@ -53,7 +53,8 @@