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 8 additions and 9 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

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