fix format

This commit is contained in:
2023-12-07 04:37:29 +01:00
parent 742470c9ce
commit 945441fff7

View File

@@ -28,7 +28,7 @@ const calcAverage = () => {
};
const format = price => {
return price.toFixed(2);
return (price ?? 0).toFixed(2);
};
const average = ref();