fix(ui) - do not call api on filter change

This commit is contained in:
Shekar Siri 2022-02-17 12:28:12 +01:00
parent a5c635d916
commit e0da7357ce

View file

@ -49,10 +49,10 @@ const reduceThenFetchResource = actionCreator => (...args) => (dispatch, getStat
return dispatch(fetchSessionList(filter));
};
export const edit = reduceThenFetchResource((instance) => ({
export const edit = (instance) => ({
type: EDIT,
instance,
}));
});
export const applyFilter = reduceThenFetchResource((filter, fromUrl=false) => ({
type: APPLY,