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:
mgabdev
2020-07-21 22:27:48 -05:00
parent 5fcc09acad
commit d6b8948191
3 changed files with 26 additions and 3 deletions

View File

@@ -152,7 +152,7 @@ const makeMapStateToProps = () => {
ancestorStatus = getStatus(state, {
id: ancestorStatusId,
})
descendantsIds = getDescendants(state, ancestorStatus, statusId)
if (!!ancestorStatus) descendantsIds = getDescendants(state, ancestorStatus, statusId)
}
}