Fixed issue with creating slug in GroupCreate
• Fixed: - issue with creating slug in GroupCreate
This commit is contained in:
parent
eb99d187fc
commit
6e6678d8e8
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue