ManageIQ/manageiq-ui-classic

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

Summary

Maintainability
A
0 mins
Test Coverage
B
80%
class ApplicationHelper::Button::PerfRefresh < ApplicationHelper::Button::Basic
  def calculate_properties
    self[:hidden] = false
  end

  def visible?
    @perf_options[:typ] == "realtime"
  end
end