Fix typo in quotes list error handling (#39904)
This commit is contained in:
parent
99a2528f94
commit
c3d24dbe96
@ -159,7 +159,7 @@ export default function statusLists(state = initialState, action) {
|
|||||||
else if (fetchQuotes.pending.match(action))
|
else if (fetchQuotes.pending.match(action))
|
||||||
return state.setIn(['quotes', 'isLoading'], true).setIn(['quotes', 'statusId'], action.meta.arg.statusId);
|
return state.setIn(['quotes', 'isLoading'], true).setIn(['quotes', 'statusId'], action.meta.arg.statusId);
|
||||||
else if (fetchQuotes.rejected.match(action))
|
else if (fetchQuotes.rejected.match(action))
|
||||||
return state.setIn(['quotes', 'isLoading', false]).setIn(['quotes', 'statusId'], action.meta.arg.statusId);
|
return state.setIn(['quotes', 'isLoading'], false).setIn(['quotes', 'statusId'], action.meta.arg.statusId);
|
||||||
else
|
else
|
||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user