Fixed maxDistance problem

This commit is contained in:
alexandercerutti
2018-08-20 18:09:01 +02:00
parent 8634d540b8
commit f5df49f540

View File

@@ -213,7 +213,7 @@ class Pass {
}
if (type === "maxDistance" && (typeof data === "string" || typeof data === "number")) {
this.props[type] = String(data);
this.props[type] = Number(data);
return 1;
} else if (type === "relevantDate") {