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 memberCount = group ? group.get('member_count') : 0
|
||||||
const hasGroupId = group ? !!group.get('id') : false
|
const hasGroupSlug = group ? !!group.get('slug') : false
|
||||||
let categoriesOptions = []
|
let categoriesOptions = []
|
||||||
if (categories) {
|
if (categories) {
|
||||||
for (let i = 0; i < categories.count(); i++) {
|
for (let i = 0; i < categories.count(); i++) {
|
||||||
@ -258,7 +258,7 @@ class GroupCreate extends ImmutablePureComponent {
|
|||||||
<Divider isInvisible />
|
<Divider isInvisible />
|
||||||
|
|
||||||
{
|
{
|
||||||
memberCount >= 50 && !hasGroupId &&
|
memberCount >= 50 && !hasGroupSlug &&
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<Input
|
<Input
|
||||||
id='group-id'
|
id='group-id'
|
||||||
|
Loading…
Reference in New Issue
Block a user