Skip to content

Commit

Permalink
Remove disabling of 'instance_retire' button to [EUWE] Remove disabli…
Browse files Browse the repository at this point in the history
…ng of 'instance_retire' button
  • Loading branch information
romanblanco committed Feb 22, 2017
1 parent 818f133 commit 7610fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/application_helper/toolbar_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ def build_toolbar_disable_button(id)
if @record.current_state != "on"
return N_("The web-based VNC console is not available because the VM is not powered on")
end
when "instance_retire", "instance_retire_now"
when "instance_retire_now"
return N_("Instance is already retired") if @record.retired
when "vm_timeline"
unless @record.has_events? || @record.has_events?(:policy_events)
Expand Down

0 comments on commit 7610fda

Please sign in to comment.