Add a comment about shouldShow*MuteErrors

This commit is contained in:
seotts 2021-05-21 09:20:17 -04:00
parent 4f618336a8
commit 3212ccf7cb

View file

@ -65,6 +65,7 @@ const selectCanRemoveProject = (state, creatorUsername, actorId) => {
return false;
};
// We should only show the mute errors to muted users who have any permissions related to the content
const selectShowEditMuteError = state => selectIsMuted(state) && (isManager(state) || selectIsAdmin(state));
const selectShowProjectMuteError = state => selectIsMuted(state) &&
(selectIsAdmin(state) ||