about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/report/category.js
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-10-18 19:33:11 +0200
committerGitHub <noreply@github.com>2022-10-18 19:33:11 +0200
commit9c7f4ab8e8d19d29a5b9367ebaec8fc8af70ab7f (patch)
tree52cec10e4c0033d46b1c2226b5b1570d0723146e /app/javascript/mastodon/features/report/category.js
parentdd5d99f83f20740addcd47591177496795344122 (diff)
Fix missing rules in report modal in web UI (#19387)
Diffstat (limited to 'app/javascript/mastodon/features/report/category.js')
-rw-r--r--app/javascript/mastodon/features/report/category.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/report/category.js b/app/javascript/mastodon/features/report/category.js
index 7eeae6da2..c6c0a506f 100644
--- a/app/javascript/mastodon/features/report/category.js
+++ b/app/javascript/mastodon/features/report/category.js
@@ -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)