Staging fixes (#9819)

* categories can be selected

* quick inventory fixes
This commit is contained in:
Matteo Pagliazzi
2018-01-18 11:30:39 +01:00
committed by GitHub
parent 9762258975
commit 2159df785f
2 changed files with 5 additions and 5 deletions

View File

@@ -77,8 +77,8 @@
v-if='group.key !== "habitica_official" || user.contributor.admin'
)
.custom-control.custom-checkbox
input.custom-control-input(:id="group.key", type="checkbox", :value="group.key", v-model="workingGroup.categories")
label.custom-control-label(v-once, :for="group.key") {{ $t(group.label) }}
input.custom-control-input(:id="`category-${group.key}`", type="checkbox", :value="group.key", v-model="workingGroup.categories")
label.custom-control-label(v-once, :for="`category-${group.key}`") {{ $t(group.label) }}
button.btn.btn-primary(@click.prevent="toggleCategorySelect") {{$t('close')}}
// @TODO: need categories only for PUBLIC GUILDS, not for tavern, private guilds, or party