@gisce/react-ooui 1.2.0-rc.13 → 1.2.0-rc.15

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": "@gisce/react-ooui",
3
- "version": "1.2.0-rc.13",
3
+ "version": "1.2.0-rc.15",
4
4
  "files": [
5
5
  "dist",
6
6
  "src",
@@ -36,8 +36,8 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@ant-design/plots": "^1.0.9",
39
- "@gisce/ooui": "^0.17.9-rc.0",
40
- "@gisce/react-formiga-components": "^1.0.9-rc.10",
39
+ "@gisce/ooui": "^0.17.10-rc.3",
40
+ "@gisce/react-formiga-components": "^1.0.9-rc.11",
41
41
  "@gisce/react-formiga-table": "^0.5.0",
42
42
  "@monaco-editor/react": "^4.4.5",
43
43
  "@tabler/icons": "^1.96.0",
@@ -61,6 +61,7 @@ function TreeActionBar(props: Props) {
61
61
  previousView,
62
62
  results,
63
63
  limit,
64
+ totalItems,
64
65
  } = useContext(ActionViewContext) as ActionViewContextType;
65
66
 
66
67
  const { parentContext = {}, treeExpandable, toolbar } = props;
@@ -351,7 +352,7 @@ function TreeActionBar(props: Props) {
351
352
  searchParams || []
352
353
  )}
353
354
  limit={limit}
354
- totalRegisters={results?.length || 0}
355
+ totalRegisters={totalItems || 0}
355
356
  selectedRegistersToExport={
356
357
  selectedRowItems &&
357
358
  selectedRowItems.length &&
@@ -136,7 +136,7 @@ const convertToExportField = ({
136
136
  if (valuesForField.relation && valuesForField.is_function === true) {
137
137
  continue;
138
138
  }
139
-
139
+
140
140
  const relationField =
141
141
  valuesForField.type === "many2one" ||
142
142
  valuesForField.type === "one2many" ||
@@ -150,7 +150,9 @@ const convertToExportField = ({
150
150
 
151
151
  exportFields.push({
152
152
  key: newKey,
153
- title: `${parentTitle ? parentTitle + "/" : ""}${valuesForField.string}`,
153
+ title: `${parentTitle ? parentTitle + "" : ""}${
154
+ valuesForField.string
155
+ }`,
154
156
  tooltip: valuesForField.help,
155
157
  required: valuesForField.required,
156
158
  isLeaf: !relationField,