revert(filter_changes): adding the filter function was causing nested queries to not load the newly set values (#18731)
parent
7f380f52bf
commit
cc28e2fd33
|
@ -126,13 +126,7 @@ export const hydrateVariables = (skipCache?: boolean) => async (
|
|||
) => {
|
||||
const state = getState()
|
||||
const org = getOrg(state)
|
||||
const vars = getVariablesFromState(state).filter(
|
||||
v => v.status && v.status !== RemoteDataState.Done
|
||||
)
|
||||
|
||||
if (!vars.length) {
|
||||
return
|
||||
}
|
||||
const vars = getVariablesFromState(state)
|
||||
|
||||
const hydration = hydrateVars(vars, getAllVariablesFromState(state), {
|
||||
orgID: org.id,
|
||||
|
|
Loading…
Reference in New Issue