[Glitch] Fix typo in quotes list error handling

Port 45cc65bb7f7d0a3aa7cc2ee8d8549431963a24cb to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Shlee 2026-07-22 19:59:59 +09:30 committed by Tarrien
parent 852a08ab36
commit c5ec0a4da5

View File

@ -159,7 +159,7 @@ export default function statusLists(state = initialState, action) {
else if (fetchQuotes.pending.match(action))
return state.setIn(['quotes', 'isLoading'], true).setIn(['quotes', 'statusId'], action.meta.arg.statusId);
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
return state;
}