From d8063d09d51cafe745e2b7c3d21db90856e37d97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Tue, 12 Jun 2018 15:05:22 +0200 Subject: [PATCH] FIX: Add members button wasn't working on mobile for non-admin group owners --- .../javascripts/discourse/templates/mobile/group-index.hbs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/mobile/group-index.hbs b/app/assets/javascripts/discourse/templates/mobile/group-index.hbs index b1c05322a17..7df27a3c3d7 100644 --- a/app/assets/javascripts/discourse/templates/mobile/group-index.hbs +++ b/app/assets/javascripts/discourse/templates/mobile/group-index.hbs @@ -9,9 +9,11 @@ showAddMembersModal="showAddMembersModal" showBulkAddModal="showBulkAddModal"}} {{else}} - {{d-button icon="plus" + {{d-button + icon="plus" label="groups.add_members.title" - class="group-members-add"}} + class="group-members-add" + action="showAddMembersModal"}} {{/if}} {{/if}}