about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-10-18 19:33:11 +0200
committerClaire <claire.github-309c@sitedethib.com>2022-10-28 19:24:02 +0200
commit6013eeea4c3492ac219bc8221396aa687775bf44 (patch)
tree85b7a9e6e0b67ca4971027403f27f18d50f88db7
parent2aa70c112a5381ad6c81597dbe2cb04e29532aa8 (diff)
[Glitch] Fix missing rules in report modal in web UI
Port 9c7f4ab8e8d19d29a5b9367ebaec8fc8af70ab7f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
-rw-r--r--app/javascript/flavours/glitch/features/report/category.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/report/category.js b/app/javascript/flavours/glitch/features/report/category.js
index 88a6c1969..55c43577b 100644
--- a/app/javascript/flavours/glitch/features/report/category.js
+++ b/app/javascript/flavours/glitch/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)