Skip to content

Commit 312bcb6

Browse files
committed
Patch constituent table for new default values
1 parent 4702ba7 commit 312bcb6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

webapp/src/components/CompactConstituentTable.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,12 @@
4646
<input
4747
v-model="constituent.quantity"
4848
class="form-control form-control-sm quantity-input"
49-
:class="{ 'red-border': isNaN(constituent.quantity) }"
49+
:class="{
50+
'red-border':
51+
constituent.quantity !== null &&
52+
constituent.quantity !== undefined &&
53+
isNaN(constituent.quantity),
54+
}"
5055
placeholder="quantity"
5156
/>
5257
</td>

0 commit comments

Comments
 (0)