Skip to content

Commit

Permalink
Refs #37148 - Remove removed_widgets override (#10927)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylenz committed Mar 13, 2024
1 parent 262fab5 commit 40a70ce
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 40a70ce

Please sign in to comment.