Fixed group editing

• Fixed:
- group editing dialog

• Updated:
- FileInput to take in file from props to state
- GroupCreateModal, GroupCreate to take in groupId
This commit is contained in:
mgabdev
2020-06-10 22:16:23 -04:00
parent 10686f32ef
commit e09265279d
4 changed files with 13 additions and 9 deletions

View File

@@ -167,6 +167,7 @@ class GroupCreate extends ImmutablePureComponent {
disabled={isSubmitting}
title={intl.formatMessage(coverImage === null ? messages.coverImage : messages.coverImageChange)}
onChange={this.handleCoverImageChange}
file={group ? group.get('cover_image_url') : undefined}
width='340px'
height='145px'
/>