FIX: displays selection text when no default_notification_level is set (#8962)

FIX: displays selection text when no default_notification_level is set (#8962)

diff --git a/app/assets/javascripts/discourse/templates/components/groups-form-interaction-fields.hbs b/app/assets/javascripts/discourse/templates/components/groups-form-interaction-fields.hbs
index 9185adfdea..fcc29b71b2 100644
--- a/app/assets/javascripts/discourse/templates/components/groups-form-interaction-fields.hbs
+++ b/app/assets/javascripts/discourse/templates/components/groups-form-interaction-fields.hbs
@@ -90,7 +90,12 @@
 <div class="control-group">
   <label>{{i18n 'groups.notification_level'}}</label>
 
-  {{notifications-button i18nPrefix='groups.notifications'
-      value=model.default_notification_level
-      class="groups-form-default-notification-level"}}
+  {{notifications-button
+    value=model.default_notification_level
+    class="groups-form-default-notification-level"
+    options=(hash
+      none="select_kit.default_header_text"
+      i18nPrefix="groups.notifications"
+    )
+  }}
 </div>

GitHub sha: 149196b9

1 Like

This commit appears in #8962 which was merged by @jjaffeux.