Skip to content

Commit

Permalink
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/helpers/miq_ae_class_helper.rb
Original file line number Diff line number Diff line change
@@ -84,7 +84,7 @@ def ae_field_fonticon(field)
'product product-array'
when 'password'
'product product-password'
when 'null coalescing'
when 'null coalescing', 'nil_class'
'fa fa-question'
when 'host'
'pficon pficon-screen'
@@ -116,8 +116,13 @@ def ae_field_fonticon(field)
'product product-state'
when 'element'
'product product-element'
when 'hash'
'fa fa-hashtag'
when 'key'
'pficon pficon-key'
else
raise NotImplementedError, "Missing fonticon for MiqAeField type #{field}"
Rails.logger.warn("Missing fonticon for MiqAeField type \"#{field}\"")
'fa fa-file-text-o'
end
end
end

0 comments on commit 40e2630

Please sign in to comment.