Skip to content

Commit

Permalink
Refs #37148 - Remove removed_widgets override (Katello#10927)
Browse files Browse the repository at this point in the history
(cherry picked from commit 40a70ce)
  • Loading branch information
jeremylenz authored and qcjames53 committed Mar 19, 2024
1 parent 7e3516e commit 446a648
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions app/helpers/katello/concerns/dashboard_helper_extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@ def host_query
def total_host_count
host_query.size
end

def removed_widgets
widgets = super

if Organization.current&.simple_content_access?
widgets.reject! { |widget| ::Widget.singleton_class::SUBSCRIPTION_TEMPLATES.include? widget[:template] }
end

widgets
end
end
end
end

0 comments on commit 446a648

Please sign in to comment.