From 53833e2fc4ab8d0dfb311886504f1e4fceb7fe0c Mon Sep 17 00:00:00 2001 From: IanM <16573496+imorland@users.noreply.github.com> Date: Mon, 23 Oct 2023 20:06:06 +0100 Subject: [PATCH] fix: unable to react when anonymous reacting disabled (#74) * fix: unable to react when anonymous reactions disabled * Apply fixes from StyleCI --------- Co-authored-by: StyleCI Bot --- js/src/forum/components/PostReactAction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/forum/components/PostReactAction.js b/js/src/forum/components/PostReactAction.js index 7594a10..38372f6 100755 --- a/js/src/forum/components/PostReactAction.js +++ b/js/src/forum/components/PostReactAction.js @@ -155,7 +155,7 @@ export default class PostReactAction extends Component { return; } - if (!this.post.canReact() || !allowAnonymous) { + if (!this.post.canReact()) { return app.alerts.show({ type: 'error' }, app.translator.trans('core.lib.error.permission_denied_message')); }