Fix missing rules in report modal in web UI (#19387)

This commit is contained in:
Eugen Rochko 2022-10-18 19:33:11 +02:00 committed by GitHub
parent dd5d99f83f
commit 9c7f4ab8e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)