[Glitch] Fix missing rules in report modal in web UI

Port 9c7f4ab8e8 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Eugen Rochko 2022-10-18 19:33:11 +02:00 committed by Claire
parent 2aa70c112a
commit 6013eeea4c

View file

@ -21,7 +21,7 @@ const messages = defineMessages({
});
const mapStateToProps = state => ({
rules: state.getIn(['server', 'rules'], ImmutableList()),
rules: state.getIn(['server', 'server', 'rules'], ImmutableList()),
});
export default @connect(mapStateToProps)