Skip to content

Commit

Permalink
Teporarily removing the topology icon from physical infra view
Browse files Browse the repository at this point in the history
  • Loading branch information
felipedf committed Jun 26, 2018
1 parent 5d59ba6 commit a61f780
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -2,7 +2,8 @@ class ApplicationHelper::Button::TopologyFeatureButton < ApplicationHelper::Butt
needs :@record

def visible?
return false if @record.kind_of?(ManageIQ::Providers::InfraManager)
return false if [ManageIQ::Providers::InfraManager,
ManageIQ::Providers::PhysicalInfraManager,].any? { |klass| @record.kind_of?(klass) }
super
end
end

0 comments on commit a61f780

Please sign in to comment.