Fixed issue with creating slug in GroupCreate

• Fixed:
- issue with creating slug in GroupCreate
This commit is contained in:
mgabdev 2020-08-08 13:24:09 -05:00
parent eb99d187fc
commit 6e6678d8e8
1 changed files with 2 additions and 2 deletions

View File

@ -232,7 +232,7 @@ class GroupCreate extends ImmutablePureComponent {
}
const memberCount = group ? group.get('member_count') : 0
const hasGroupId = group ? !!group.get('id') : false
const hasGroupSlug = group ? !!group.get('slug') : false
let categoriesOptions = []
if (categories) {
for (let i = 0; i < categories.count(); i++) {
@ -258,7 +258,7 @@ class GroupCreate extends ImmutablePureComponent {
<Divider isInvisible />
{
memberCount >= 50 && !hasGroupId &&
memberCount >= 50 && !hasGroupSlug &&
<Fragment>
<Input
id='group-id'