Skip to content
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

Merged
merged 1 commit into from
Aug 30, 2018
Merged

Load related tag resources from redux store #897

merged 1 commit into from
Aug 30, 2018

Conversation

bjoernricks
Copy link
Contributor

Update ResourceList to load the entity resources from the redux store.

resources: PropTypes.array,
};

const resoucesFilter = id => Filter.fromString(
Copy link
Member

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))),
Copy link
Member

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);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same typo here

swaterkamp
swaterkamp previously approved these changes Aug 30, 2018
Update ResourceList to load the entity resources from the redux store.
@codecov
Copy link

codecov bot commented Aug 30, 2018

Codecov Report

Merging #897 into master will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
gsa/src/web/pages/tags/resourcelist.js 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update deacc02...038c3c3. Read the comment docs.

@swaterkamp swaterkamp merged commit 1ca29ff into greenbone:master Aug 30, 2018
@bjoernricks bjoernricks deleted the resources-list branch August 30, 2018 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants