Linking modules in the group security dashboard
The following discussion from !8886 (merged) should be addressed:
-
@leipert started a discussion: (+4 comments) Question @samdbeckham Interesting, as I have not worked with VueX modules before, this might be not possible, but I thought this would work like this:
- I update a filter
- The store of the
filtersmodule is updated - We trigger an event to re-fetch the vulnerabilities
- The "main" store listens on that event -> Refetching the vulnerabilities -> Updating it's store
- The Vue Component is agnostic to this process and just re-renders (twice), because loading state and newly fetched data.
That way we completely remove
...mapGetters('filters', ['activeFilters']),from this one (and potentially the "update page one"), as they are not used otherwise here.Am I missing something? (and sorry for not catching this earlier).