We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27387c2 commit 08ec8a9Copy full SHA for 08ec8a9
packages/react-bootstrap-table2/src/store/type.js
@@ -1,7 +1,7 @@
1
import Const from '../const';
2
3
export const typeConvert = (type, value) => {
4
- if (!type || type === Const.TYPE_STRING) {
+ if (type === Const.TYPE_STRING) {
5
return String(value);
6
} else if (type === Const.TYPE_NUMBER) {
7
return Number(value);
0 commit comments