forked from fixin.me/fixin.me
Fix defaults listing
Base symbol was displayed twice when it existed as default and non-default and both of them had at least one subunit. Also: sorting by base_id yielded non-alphabetic order in such case.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<%= tag.tr do %>
|
||||
<td class="<%= class_names({subunit: unit.base,
|
||||
grayed: unit.default? && !unit.portable.nil? }) %>">
|
||||
<td class="<%= class_names({subunit: unit.base, grayed: unit.default?}) %>">
|
||||
<%= unit %>
|
||||
</td>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user