From cb5fbdf7d9530782b9c98844b6337022eea259a8 Mon Sep 17 00:00:00 2001 From: Justin Date: Wed, 11 May 2022 09:25:48 -0400 Subject: [PATCH] Account for different 'rule_type' on rules --- app/soapbox/components/modal_root.js | 7 ++++++- .../modals/report-modal/report-modal.tsx | 16 ++++++---------- .../modals/report-modal/steps/reason-step.tsx | 17 +++++++++++++++-- .../features/ui/containers/modal_container.js | 11 ++++++++++- 4 files changed, 37 insertions(+), 14 deletions(-) diff --git a/app/soapbox/components/modal_root.js b/app/soapbox/components/modal_root.js index 628d02fa4..ddf5fd26f 100644 --- a/app/soapbox/components/modal_root.js +++ b/app/soapbox/components/modal_root.js @@ -208,7 +208,12 @@ class ModalRoot extends React.PureComponent { })} style={{ opacity: revealed ? 1 : 0 }} > -