We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bb287a commit 0465ea3Copy full SHA for 0465ea3
specifyweb/frontend/js_src/lib/components/Interactions/PrepDialog.tsx
@@ -186,6 +186,9 @@ export function PrepDialog({
186
const loanPreparation = toTable(result, 'LoanPreparation');
187
loanPreparation?.set('quantityReturned', 0);
188
loanPreparation?.set('quantityResolved', 0);
189
+ if (Number.isNaN(result.get('quantity'))) {
190
+ result.set('quantity', 0)
191
+ }
192
return result;
193
})
194
);
0 commit comments