ManageIQ/manageiq-ui-classic

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

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class ApplicationHelper::Button::AeCopySimulate < ApplicationHelper::Button::ButtonWithoutRbacCheck
  def disabled?
    if @resolve[:button_class].blank?
      @error_message = _('Object attribute must be specified to copy object details for use in a Button')
      @error_message.present?
    end
  end
end