Don't compute nfp mucus value when data missing
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
export default function (feeling, texture) {
|
export default function (feeling, texture) {
|
||||||
|
|
||||||
|
if (typeof feeling != 'number' || typeof texture != 'number') return null
|
||||||
|
|
||||||
const feelingMapping = {
|
const feelingMapping = {
|
||||||
0: 0,
|
0: 0,
|
||||||
1: 1,
|
1: 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user