diff options
Diffstat (limited to 'app/helpers/invite_members_helper.rb')
-rw-r--r-- | app/helpers/invite_members_helper.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/helpers/invite_members_helper.rb b/app/helpers/invite_members_helper.rb index e986b56fde4..422380f3cc6 100644 --- a/app/helpers/invite_members_helper.rb +++ b/app/helpers/invite_members_helper.rb @@ -45,7 +45,7 @@ module InviteMembersHelper full_path: source.full_path } - if current_user && show_invite_members_for_task?(source) + if current_user && show_invite_members_for_task? dataset.merge!( tasks_to_be_done_options: tasks_to_be_done_options.to_json, projects: projects_for_source(source).to_json, @@ -71,8 +71,7 @@ module InviteMembersHelper {} end - # Overridden in EE - def show_invite_members_for_task?(_source) + def show_invite_members_for_task? params[:open_modal] == 'invite_members_for_task' end |