resetGraphQueryResults for vis does not reset model
The graphQueryResultSlice.ts
exposes an action called resetGraphQueryResults
and all VIS have right now a story that is called Empty
.
The intended flow of Empty is
- calls
dispatch(resetGraphQueryResults());
- redux toolkit picks up and modifies the state (empty the resultset)
- the useEffect(() => {}, [graphQueryResult])) gets invoked for the update
The actual flow that Empty produces is 1) then 3) then 2)
=> Defacto the vis do not get the resetQueryResult update.