@kaspernj/api-maker 1.0.238 → 1.0.240
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.
package/package.json
CHANGED
|
@@ -390,7 +390,7 @@ export default class ApiMakerBootstrapLiveTable extends React.PureComponent {
|
|
|
390
390
|
const {queryQName} = this.shape
|
|
391
391
|
|
|
392
392
|
const changeParamsParams = {}
|
|
393
|
-
changeParamsParams[queryQName] = qParams
|
|
393
|
+
changeParamsParams[queryQName] = JSON.stringify(qParams)
|
|
394
394
|
|
|
395
395
|
Params.changeParams(changeParamsParams, {appHistory})
|
|
396
396
|
}
|
package/src/inputs/money.jsx
CHANGED
|
@@ -165,7 +165,7 @@ export default class ApiMakerInputsMoney extends React.PureComponent {
|
|
|
165
165
|
let cents = parseInt(whole * 100, 10)
|
|
166
166
|
let oldCents = parseInt(inputElement.value, 10)
|
|
167
167
|
|
|
168
|
-
if (cents) {
|
|
168
|
+
if (typeof cents == "number") {
|
|
169
169
|
inputElement.value = cents
|
|
170
170
|
} else {
|
|
171
171
|
inputElement.value = ''
|