From 046cb408b77c603c24403da1fe94d2d52f8f85e0 Mon Sep 17 00:00:00 2001 From: Claire Date: Tue, 12 Sep 2023 16:30:03 +0200 Subject: [PATCH] [Glitch] Fix front-end bug when processing relationship-related account actions Port 287520453c30e0d1408699b989bec87b0b4d7ed9 to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/reducers/relationships.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/flavours/glitch/reducers/relationships.js b/app/javascript/flavours/glitch/reducers/relationships.js index 191448c0e8..32b4b4f371 100644 --- a/app/javascript/flavours/glitch/reducers/relationships.js +++ b/app/javascript/flavours/glitch/reducers/relationships.js @@ -73,6 +73,7 @@ export default function relationships(state = initialState, action) { case ACCOUNT_UNMUTE_SUCCESS: case ACCOUNT_PIN_SUCCESS: case ACCOUNT_UNPIN_SUCCESS: + return normalizeRelationship(state, action.relationship); case RELATIONSHIPS_FETCH_SUCCESS: return normalizeRelationships(state, action.relationships); case submitAccountNote.fulfilled: