When formating a value for a Module assign it to zero if it is undefined

This commit is contained in:
Felix Linker
2018-09-09 17:20:21 +02:00
parent 56cbc49d04
commit 8cedd1b8bc

View File

@@ -212,6 +212,8 @@ export default class Module {
}
}
val = val || 0;
if (!formatingOptions) {
return (
<span>