mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-01-26 17:42:59 -05:00
Fix front-end bug when processing relationship-related account actions (#26902)
This commit is contained in:
parent
9a70cac9de
commit
287520453c
@ -73,6 +73,7 @@ export default function relationships(state = initialState, action) {
|
|||||||
case ACCOUNT_UNMUTE_SUCCESS:
|
case ACCOUNT_UNMUTE_SUCCESS:
|
||||||
case ACCOUNT_PIN_SUCCESS:
|
case ACCOUNT_PIN_SUCCESS:
|
||||||
case ACCOUNT_UNPIN_SUCCESS:
|
case ACCOUNT_UNPIN_SUCCESS:
|
||||||
|
return normalizeRelationship(state, action.relationship);
|
||||||
case RELATIONSHIPS_FETCH_SUCCESS:
|
case RELATIONSHIPS_FETCH_SUCCESS:
|
||||||
return normalizeRelationships(state, action.relationships);
|
return normalizeRelationships(state, action.relationships);
|
||||||
case submitAccountNote.fulfilled:
|
case submitAccountNote.fulfilled:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user