ManageIQ/manageiq-ui-classic

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

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class ApplicationHelper::Button::DiagnosticsAuditLogs < ApplicationHelper::Button::Basic
  include ApplicationHelper::Button::Mixins::ActiveContextMixin

  def visible?
    active_tree?(:diagnostics_tree) && active_tab?('diagnostics_audit_log')
  end
end