diff --git a/app/controllers/application_controller/ci_processing.rb b/app/controllers/application_controller/ci_processing.rb index 29595ffd770..7b71cbd9dc4 100644 --- a/app/controllers/application_controller/ci_processing.rb +++ b/app/controllers/application_controller/ci_processing.rb @@ -258,7 +258,7 @@ def vm_button_operation(task, display_name, partial_after_single_selection = nil # Either a list or coming from a different controller (e.g. from host screen, go to its vms) if @lastaction == "show_list" || - !%w(orchestration_stack service vm_cloud vm_infra vm miq_template vm_or_template).include?(controller_name) + !%w(service vm_cloud vm_infra vm miq_template vm_or_template).include?(controller_name) # FIXME: retrieving vms from DB two times items = find_checked_ids_with_rbac(klass, task) @@ -362,7 +362,7 @@ def get_rec_cls when "miq_template" MiqTemplate when "orchestration_stack" - OrchestrationStack + params[:display] == "instances" ? VmOrTemplate : OrchestrationStack when "service" Service when "cloud_object_store_container"