-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load related tag resources from redux store #897
Conversation
resources: PropTypes.array, | ||
}; | ||
|
||
const resoucesFilter = id => Filter.fromString( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a little typo here: resou_r_cesFilter
entityType, | ||
}); | ||
return { | ||
loadResources: () => dispatch(loadEntities(gmp)(resoucesFilter(entity.id))), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same typo here
const {resourceType: entityType} = entity; | ||
const selector = createSelector(entityType); | ||
const select = selector(rootState); | ||
const filter = resoucesFilter(entity.id); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same typo here
Update ResourceList to load the entity resources from the redux store.
Codecov Report
@@ Coverage Diff @@
## master #897 +/- ##
=========================================
- Coverage 7.48% 7.48% -0.01%
=========================================
Files 824 824
Lines 26450 26468 +18
Branches 5646 5649 +3
=========================================
Hits 1980 1980
- Misses 22099 22114 +15
- Partials 2371 2374 +3
Continue to review full report at Codecov.
|
Update ResourceList to load the entity resources from the redux store.