Skip to content

Commit

Permalink
fix container link on dashboard bug
Browse files Browse the repository at this point in the history
minor refactoring

minor refactoring

minor refactoring
  • Loading branch information
nimrodshn committed Dec 4, 2017
1 parent 15a7152 commit 989c0bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Expand Up @@ -1149,7 +1149,7 @@ def view_to_hash(view, fetch_data = false)
value = row[col] || ' '
new_row[:cells] << {:span => severity_span_class(value), :text => severity_title(value)}
when 'state'
celltext = row[col].titleize
celltext = row[col].to_s.titleize
when 'hardware.bitness'
celltext = row[col] ? "#{row[col]} bit" : ''
when 'image?'
Expand Down

0 comments on commit 989c0bb

Please sign in to comment.