[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:
parent
2aa70c112a
commit
6013eeea4c
|
@ -21,7 +21,7 @@ const messages = defineMessages({
|
||||||
});
|
});
|
||||||
|
|
||||||
const mapStateToProps = state => ({
|
const mapStateToProps = state => ({
|
||||||
rules: state.getIn(['server', 'rules'], ImmutableList()),
|
rules: state.getIn(['server', 'server', 'rules'], ImmutableList()),
|
||||||
});
|
});
|
||||||
|
|
||||||
export default @connect(mapStateToProps)
|
export default @connect(mapStateToProps)
|
||||||
|
|
Loading…
Reference in a new issue