Fixed issue in Status page where status wont fetch on component update
• Fixed: - issue in Status page where status wont fetch on component update
This commit is contained in:
parent
365cd86ab0
commit
b129ce0f88
|
@ -28,6 +28,9 @@ class Status extends ImmutablePureComponent {
|
|||
if (prevProps.status !== status && !!status) {
|
||||
this.shouldFetchStatusParts(status)
|
||||
}
|
||||
if (prevProps.statusId !== this.props.statusId && !this.props.status) {
|
||||
this.props.onFetchStatus(this.props.statusId)
|
||||
}
|
||||
}
|
||||
|
||||
shouldFetchStatusParts = (status) => {
|
||||
|
|
Loading…
Reference in New Issue