fix(ui) - do not call api on filter change
This commit is contained in:
parent
a5c635d916
commit
e0da7357ce
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue