FIX: calling action with a string is deprecated (#7807)

FIX: calling action with a string is deprecated (#7807)

diff --git a/app/assets/javascripts/discourse/templates/modal/bulk-actions-buttons.hbs b/app/assets/javascripts/discourse/templates/modal/bulk-actions-buttons.hbs
index 11311cc..286b77a 100644
--- a/app/assets/javascripts/discourse/templates/modal/bulk-actions-buttons.hbs
+++ b/app/assets/javascripts/discourse/templates/modal/bulk-actions-buttons.hbs
@@ -1,5 +1,5 @@
 <div class='bulk-buttons'>
   {{#each buttons as |button|}}
-    {{d-button action=button.action label=button.label icon=button.icon class=button.class}}
+    {{d-button action=(action button.action) label=button.label icon=button.icon class=button.class}}
   {{/each}}
 </div>

GitHub sha: 01de7e14

1 Like