web: People: Fixed fetching profile after avatar saving action at profile view page
This commit is contained in:
parent
793a008a49
commit
decd932548
@ -143,7 +143,7 @@ class SectionHeaderContent extends React.PureComponent {
|
||||
this.setState(stateCopy);
|
||||
})
|
||||
.catch((error) => toastr.error(error))
|
||||
.then(() => fetchProfile(this.state.profile.id));
|
||||
.then(() => this.props.fetchProfile(this.state.profile.id));
|
||||
} else {
|
||||
deleteAvatar(this.state.profile.id)
|
||||
.then((response) => {
|
||||
|
Loading…
Reference in New Issue
Block a user