@fctc/sme-widget-ui 1.7.4 → 1.7.5

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/dist/index.js CHANGED
@@ -35034,7 +35034,7 @@ var Many2OneField = (props) => {
35034
35034
  className: "cursor-pointer",
35035
35035
  "data-tooltip-id": String(name2) + index4,
35036
35036
  id: name2,
35037
- children: propValue && typeof propValue === "object" && "display_name" in propValue ? propValue?.display_name : propValue
35037
+ children: propValue && typeof propValue === "object" && "display_name" in propValue ? propValue?.display_name : propValue?.id || propValue
35038
35038
  }
35039
35039
  )
35040
35040
  ] });
package/dist/index.mjs CHANGED
@@ -34913,7 +34913,7 @@ var Many2OneField = (props) => {
34913
34913
  className: "cursor-pointer",
34914
34914
  "data-tooltip-id": String(name2) + index4,
34915
34915
  id: name2,
34916
- children: propValue && typeof propValue === "object" && "display_name" in propValue ? propValue?.display_name : propValue
34916
+ children: propValue && typeof propValue === "object" && "display_name" in propValue ? propValue?.display_name : propValue?.id || propValue
34917
34917
  }
34918
34918
  )
34919
34919
  ] });
package/dist/widgets.js CHANGED
@@ -34658,7 +34658,7 @@ var Many2OneField = (props) => {
34658
34658
  className: "cursor-pointer",
34659
34659
  "data-tooltip-id": String(name2) + index4,
34660
34660
  id: name2,
34661
- children: propValue && typeof propValue === "object" && "display_name" in propValue ? propValue?.display_name : propValue
34661
+ children: propValue && typeof propValue === "object" && "display_name" in propValue ? propValue?.display_name : propValue?.id || propValue
34662
34662
  }
34663
34663
  )
34664
34664
  ] });
package/dist/widgets.mjs CHANGED
@@ -34595,7 +34595,7 @@ var Many2OneField = (props) => {
34595
34595
  className: "cursor-pointer",
34596
34596
  "data-tooltip-id": String(name2) + index4,
34597
34597
  id: name2,
34598
- children: propValue && typeof propValue === "object" && "display_name" in propValue ? propValue?.display_name : propValue
34598
+ children: propValue && typeof propValue === "object" && "display_name" in propValue ? propValue?.display_name : propValue?.id || propValue
34599
34599
  }
34600
34600
  )
34601
34601
  ] });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "1.7.4",
3
+ "version": "1.7.5",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",