ManageIQ/manageiq-ui-classic

View on GitHub
app/helpers/application_helper/button/basic_image.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class ApplicationHelper::Button::BasicImage < ApplicationHelper::Button::Basic
  def visible?
    active_node = @view_context.x_node
    active_node.blank? || (active_node != "xx-arch" && active_node != "xx-orph")
  end
end