fixes minFractionDigits defaulting to 0 when set to null

pull/5819/head^2
navedqb 2024-06-03 13:16:10 +05:30 committed by GitHub
parent 53ea90bd44
commit 8203539384
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -160,8 +160,8 @@ export default {
currency: this.currency,
currencyDisplay: this.currencyDisplay,
useGrouping: this.useGrouping,
minimumFractionDigits: this.minFractionDigits,
maximumFractionDigits: this.maxFractionDigits,
minimumFractionDigits: this.minFractionDigits ?? undefined,
maximumFractionDigits: this.maxFractionDigits ?? undefined,
roundingMode: this.roundingMode
};
},