Do not use replace on the group id

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2020-03-02 12:39:33 +01:00
parent fb9a6b8134
commit 6020a2efd9
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF
5 changed files with 1 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View file

@ -75,7 +75,6 @@
<AppNavigationCaption v-if="groupList.length > 0" :title="t('settings', 'Groups')" /> <AppNavigationCaption v-if="groupList.length > 0" :title="t('settings', 'Groups')" />
<AppNavigationItem <AppNavigationItem
v-for="group in groupList" v-for="group in groupList"
:id="group.id"
:key="group.id" :key="group.id"
:exact="true" :exact="true"
:title="group.title" :title="group.title"
@ -490,7 +489,7 @@ export default {
*/ */
formatGroupMenu(group) { formatGroupMenu(group) {
const item = {} const item = {}
item.id = group.id.replace(' ', '_') item.id = group.id
item.title = group.name item.title = group.name
item.usercount = group.usercount item.usercount = group.usercount