Skip to content

Commit

Permalink
Merge pull request #3026 from DMPRoadmap/issue2989
Browse files Browse the repository at this point in the history
fix gg shown for plan details page
  • Loading branch information
raycarrick-ed committed Sep 22, 2021
2 parents 2449137 + 7e18192 commit 7ffe4de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/plans_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def show
@important_ggs << [current_user.org, @all_ggs_grouped_by_org[current_user.org]]
end
@all_ggs_grouped_by_org.each do |org, ggs|
@important_ggs << [org, ggs] if org.organisation?
@important_ggs << [org, ggs] if Org.default_orgs.include?(org)

# If this is one of the already selected guidance groups its important!
unless (ggs & @selected_guidance_groups).empty?
Expand Down

0 comments on commit 7ffe4de

Please sign in to comment.