🐛 Fix size 0 (number) transformed into empty string (#715)
This commit is contained in:
+4
@@ -63,6 +63,10 @@ export const transformValueToDbString = (
|
||||
return +v;
|
||||
}
|
||||
|
||||
if (type === "number") {
|
||||
if (v === 0) return v;
|
||||
}
|
||||
|
||||
return v || "";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user