adminforth 1.2.40 → 1.2.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -81,7 +81,7 @@ class MongoConnector extends AdminForthBaseConnector implements IAdminForthDataS
81
81
  } else if (field.type == AdminForthDataTypes.BOOLEAN) {
82
82
  return !!value;
83
83
  } else if (field.type == AdminForthDataTypes.DECIMAL) {
84
- return parseFloat(value['$numberDecimal'])
84
+ return value.toString();
85
85
  }
86
86
 
87
87
  return value;
@@ -85,7 +85,7 @@ class MongoConnector extends AdminForthBaseConnector {
85
85
  return !!value;
86
86
  }
87
87
  else if (field.type == AdminForthDataTypes.DECIMAL) {
88
- return parseFloat(value['$numberDecimal']);
88
+ return value.toString();
89
89
  }
90
90
  return value;
91
91
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "1.2.40",
3
+ "version": "1.2.42",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",