Fixed issue with loading context, comments from Status feature
• Fixed: - issue with loading context, comments from Status feature by loading in feature not child • Added: - check for if ancestor status exists in StatusContainer
This commit is contained in:
@@ -152,7 +152,7 @@ const makeMapStateToProps = () => {
|
||||
ancestorStatus = getStatus(state, {
|
||||
id: ancestorStatusId,
|
||||
})
|
||||
descendantsIds = getDescendants(state, ancestorStatus, statusId)
|
||||
if (!!ancestorStatus) descendantsIds = getDescendants(state, ancestorStatus, statusId)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user