FIX: regression with composer warnings

FIX: regression with composer warnings

Fixes composer warnings when: a) mentioning groups (“By mentioning @group, you are about to notify x people…”) and b) mentioning users in a PM (“You mentioned @user but they won`t be notified…”)

diff --git a/app/assets/javascripts/discourse/templates/composer.hbs b/app/assets/javascripts/discourse/templates/composer.hbs
index c59c4b5..4f31398 100644
--- a/app/assets/javascripts/discourse/templates/composer.hbs
+++ b/app/assets/javascripts/discourse/templates/composer.hbs
@@ -106,8 +106,8 @@
                             uploadIcon=uploadIcon
                             isCancellable=isCancellable
                             uploadProgress=uploadProgress
-                            groupsMentioned="groupsMentioned"
-                            cannotSeeMention="cannotSeeMention"
+                            groupsMentioned=(action "groupsMentioned")
+                            cannotSeeMention=(action "cannotSeeMention")
                             importQuote=(action "importQuote")
                             togglePreview=(action "togglePreview")
                             showToolbar=showToolbar

GitHub sha: c02e81fe

1 Like