We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 64d5d0b + 8a8d227 commit f399647Copy full SHA for f399647
app/helpers/application_helper/toolbar_chooser.rb
@@ -68,7 +68,8 @@ def center_toolbar_name_vm_or_template
68
when ManageIQ::Providers::InfraManager::Template
69
'x_miq_template_center_tb'
70
else
71
- raise 'FIXME: this would return "x_# {@button_group}_center_tb' # FIXME: remove this branch
+ Rails.logger.warn("An unknown object type [#{@record.class.name}] was found when selecting a toolbar. Continuing without a toolbar selection.")
72
+ nil
73
end
74
75
case x_active_tree
0 commit comments