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:

    1. I update a filter
    2. The store of the filters module is updated
    3. We trigger an event to re-fetch the vulnerabilities
    4. The "main" store listens on that event -> Refetching the vulnerabilities -> Updating it's store
    5. 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).

Assignee Loading
Time tracking Loading