ManageIQ/manageiq-ui-classic

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

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class ApplicationHelper::Button::NewCloudTenant < ApplicationHelper::Button::ButtonNewDiscover
  def disabled?
    super || ManageIQ::Providers::Openstack::CloudManager.count == 0
  end
end