Set multiplier to 1 for base units

This commit is contained in:
2024-03-15 17:16:14 +01:00
parent f298acd726
commit aa4a8193ce
2 changed files with 7 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
onclick: 'this.blur();', data: {turbo_stream: true} %>
</td>
<td><%= unit.name %></td>
<td class="number"><%= scientifize(unit.multiplier) if unit.multiplier %></td>
<td class="number"><%= scientifize(unit.multiplier) if unit.base %></td>
<% if current_user.at_least(:active) %>
<td class="actions">