ManageIQ/manageiq-ui-classic

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

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class ApplicationHelper::Button::MiqAeGitRefresh < ApplicationHelper::Button::MiqAeDomain
  needs :@record

  def disabled?
    nil
  end

  def visible?
    super || (git_enabled?(@record) && GitBasedDomainImportService.available?)
  end
end