Merge pull request #19739 from nextcloud/bugfix/noid/groupid-spaces

Do not use replace on the group id
This commit is contained in:
Roeland Jago Douma 2020-03-03 20:24:50 +01:00 committed by GitHub
commit 0be52ab134
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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