@configuratorware/configurator-admingui 1.28.0 → 1.28.4

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@configuratorware/configurator-admingui",
3
- "version": "1.28.0",
3
+ "version": "1.28.4",
4
4
  "license": "UNLICENSED",
5
5
  "private": false,
6
6
  "files": [
@@ -88,7 +88,7 @@
88
88
  "react-redux-i18n": "^1.9.3",
89
89
  "react-router": "^3.0.2",
90
90
  "react-sortable-hoc": "^1.3.1",
91
- "redhotmagma-visualization": "1.28.0",
91
+ "redhotmagma-visualization": "1.28.4",
92
92
  "redux": "^4.0.1",
93
93
  "redux-logger": "^3.0.6",
94
94
  "redux-persist": "^5.10.0",
@@ -206,7 +206,7 @@ export default class List extends Component {
206
206
  onPaginationChange={this.onPaginationChange}
207
207
  rowsTotal={rowsTotal || data.length}
208
208
  colSpan={columns.length}
209
- currentPage={this.props.listParams.offset / rowsPerPage}
209
+ currentPage={_.get(this.props, 'listParams.offset', 0) / rowsPerPage}
210
210
  rowsPerPage={rowsPerPage}
211
211
  beforeElement={
212
212
  <div style={listStyle.groupButtons}>
@@ -10,8 +10,8 @@ const initialState = {
10
10
  items: {
11
11
  value: [],
12
12
  schema: {
13
- id: { value: null },
14
- identifier: { value: '' },
13
+ id: { value: null, constraints: { presence: true } },
14
+ identifier: { value: '', constraints: { presence: true } },
15
15
  translated_title: { value: '' }, // form helper
16
16
  additional_data: { value: {} }, // form helper
17
17
  },