fix #11336, categories not selectable when creating a challenge

This commit is contained in:
Matteo Pagliazzi
2019-08-30 19:05:33 +02:00
parent 0056163a17
commit c38e97875f

View File

@@ -39,9 +39,9 @@
.custom-control.custom-checkbox .custom-control.custom-checkbox
input.custom-control-input(type="checkbox", input.custom-control-input(type="checkbox",
:value="group.key", :value="group.key",
:id="group.key", :id="`challenge-modal-cat-${group.key}`",
v-model="workingChallenge.categories") v-model="workingChallenge.categories")
label.custom-control-label(v-once, :for="group.key") {{ $t(group.label) }} label.custom-control-label(v-once, :for="`challenge-modal-cat-${group.key}`") {{ $t(group.label) }}
button.btn.btn-primary(@click.prevent="toggleCategorySelect") {{$t('close')}} button.btn.btn-primary(@click.prevent="toggleCategorySelect") {{$t('close')}}
// @TODO: Implement in V2 .form-group // @TODO: Implement in V2 .form-group
label label