Skip to content

Commit

Permalink
Remove the instance_perf, vm_perf and container_perf buttons from #di…
Browse files Browse the repository at this point in the history
…sable_button
  • Loading branch information
Attila Vecerek committed Mar 2, 2017
1 parent 2091d7f commit f8d12fa
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/helpers/application_helper/toolbar_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -462,11 +462,6 @@ def disable_button(id)
when "rbac_role_edit"
return N_("This Role is Read Only and can not be edited") if @record.read_only
end
when "Vm"
case id
when "instance_perf", "vm_perf", "container_perf"
return N_("No Capacity & Utilization data has been collected for this VM") unless @record.has_perf_data?
end
when "MiqTemplate"
case id
when "image_check_compliance", "miq_template_check_compliance"
Expand Down

0 comments on commit f8d12fa

Please sign in to comment.