Fix the fix
This commit is contained in:
@@ -64,7 +64,7 @@ export class Currency {
|
|||||||
let finalValue
|
let finalValue
|
||||||
if(typeof value === 'number') {
|
if(typeof value === 'number') {
|
||||||
finalValue = value
|
finalValue = value
|
||||||
} else if(typeof value === 'object' && value.value && value.currency) {
|
} else if(typeof value === 'object' && !isNil(value.value) && value.currency) {
|
||||||
finalValue = value.value
|
finalValue = value.value
|
||||||
finalConfig.currency = value.currency
|
finalConfig.currency = value.currency
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user