Add option to remove account from followers in web UI (#34488)
This commit is contained in:
parent
64d94f9e57
commit
bed614d44e
5 changed files with 74 additions and 1 deletions
|
@ -24,6 +24,7 @@ import {
|
|||
pinAccountSuccess,
|
||||
unpinAccountSuccess,
|
||||
fetchRelationshipsSuccess,
|
||||
removeAccountFromFollowers,
|
||||
} from '../actions/accounts_typed';
|
||||
import {
|
||||
blockDomainSuccess,
|
||||
|
@ -109,7 +110,8 @@ export const relationshipsReducer: Reducer<State> = (
|
|||
unmuteAccountSuccess.match(action) ||
|
||||
pinAccountSuccess.match(action) ||
|
||||
unpinAccountSuccess.match(action) ||
|
||||
isFulfilled(submitAccountNote)(action)
|
||||
isFulfilled(submitAccountNote)(action) ||
|
||||
isFulfilled(removeAccountFromFollowers)(action)
|
||||
)
|
||||
return normalizeRelationship(state, action.payload.relationship);
|
||||
else if (fetchRelationshipsSuccess.match(action))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue