@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
@@ -16,7 +16,7 @@
16
16
  ]
17
17
  },
18
18
  "name": "@kaspernj/api-maker",
19
- "version": "1.0.238",
19
+ "version": "1.0.240",
20
20
  "type": "module",
21
21
  "description": "",
22
22
  "main": "index.js",
@@ -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
  }
@@ -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 = ''
@@ -153,7 +153,7 @@ export default class ApiMakerTableFiltersFilterForm extends React.PureComponent
153
153
  />
154
154
  )}
155
155
  {currentModelClass.ransackableScopes().map((scope) =>
156
- <div>
156
+ <div key={scope.name()}>
157
157
  {scope.name()}
158
158
  </div>
159
159
  )}