@iobroker/adapter-react-v5 8.3.0 → 8.3.2
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/README.md +4 -1
- package/build/Components/ObjectBrowser.js +7 -2
- package/build/Components/ObjectBrowser.js.map +1 -1
- package/build/Components/Utils.d.ts +1 -1
- package/build/Components/Utils.js +2 -2
- package/build/Components/Utils.js.map +1 -1
- package/build/types.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -690,7 +690,10 @@ You can find the migration instructions:
|
|
|
690
690
|
-->
|
|
691
691
|
|
|
692
692
|
## Changelog
|
|
693
|
-
### 8.3.
|
|
693
|
+
### 8.3.2 (2026-07-22)
|
|
694
|
+
- (@GermanBluefox) Corrected tooltip if object is wrong
|
|
695
|
+
|
|
696
|
+
### 8.3.1 (2026-07-12)
|
|
694
697
|
- (@GermanBluefox) Used strict types
|
|
695
698
|
|
|
696
699
|
### 8.2.13 (2026-06-21)
|
|
@@ -2764,7 +2764,7 @@ export class ObjectBrowserClass extends Component {
|
|
|
2764
2764
|
(item.data.obj.type === 'state'
|
|
2765
2765
|
? this.systemConfig?.common.defaultNewAcl.state
|
|
2766
2766
|
: this.systemConfig?.common.defaultNewAcl.object);
|
|
2767
|
-
const showEdit = this.state.filter.expertMode || isNonExpertId(item.data.id);
|
|
2767
|
+
const showEdit = !!item.data.obj && (this.state.filter.expertMode || isNonExpertId(item.data.id));
|
|
2768
2768
|
return [
|
|
2769
2769
|
this.state.filter.expertMode && this.props.objectEditOfAccessControl ? (React.createElement(Tooltip, { key: "acl", title: item.data.aclTooltip, slotProps: { popper: { sx: styles.tooltip } } },
|
|
2770
2770
|
React.createElement(IconButton, { sx: {
|
|
@@ -2909,7 +2909,7 @@ export class ObjectBrowserClass extends Component {
|
|
|
2909
2909
|
if (fileViewer === 'image') {
|
|
2910
2910
|
valFullRx.push(React.createElement("img", { style: styles.cellValueTooltipImage, src: state.val, alt: id }));
|
|
2911
2911
|
}
|
|
2912
|
-
else if (role === 'url' ||
|
|
2912
|
+
else if (role === 'url' || role === 'url.self' || role === 'url.blank') {
|
|
2913
2913
|
// Show comment about "Hold Ctrl/⌘ key to open the link"
|
|
2914
2914
|
valFullRx.unshift(React.createElement("div", { key: "ctrl", style: { textDecoration: 'underline', fontWeight: 'bold' } }, this.texts.ctrlForLink));
|
|
2915
2915
|
}
|
|
@@ -4591,6 +4591,11 @@ export class ObjectBrowserClass extends Component {
|
|
|
4591
4591
|
if (!this.state.editObjectDialog || !this.props.objectBrowserEditObject) {
|
|
4592
4592
|
return null;
|
|
4593
4593
|
}
|
|
4594
|
+
// Guard against opening the editor for a node without a real object (e.g. a virtual folder
|
|
4595
|
+
// that only exists because child states share an ID prefix). Its constructor reads obj._id.
|
|
4596
|
+
if (!this.objects[this.state.editObjectDialog]) {
|
|
4597
|
+
return null;
|
|
4598
|
+
}
|
|
4594
4599
|
const ObjectBrowserEditObject = this.props.objectBrowserEditObject;
|
|
4595
4600
|
return (React.createElement(ObjectBrowserEditObject, { key: this.state.editObjectDialog, obj: this.objects[this.state.editObjectDialog], roleArray: this.info.roles, objects: this.objects, dateFormat: this.props.dateFormat || this.systemConfig?.common.dateFormat || DEFAULT_DATE_FORMAT, isFloatComma: this.props.isFloatComma === undefined
|
|
4596
4601
|
? (this.systemConfig?.common.isFloatComma ?? true)
|