@iobroker/adapter-react-v5 8.0.8 → 8.0.9
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
CHANGED
|
@@ -691,7 +691,7 @@ You can find the migration instructions:
|
|
|
691
691
|
-->
|
|
692
692
|
|
|
693
693
|
## Changelog
|
|
694
|
-
### 8.0.
|
|
694
|
+
### 8.0.9 (2025-11-02)
|
|
695
695
|
- (@GermanBluefox) Added possibility to import objects from text
|
|
696
696
|
- (@GermanBluefox) Object browser was split into a few files
|
|
697
697
|
|
|
@@ -2488,7 +2488,7 @@ export class ObjectBrowserClass extends Component {
|
|
|
2488
2488
|
if (text) {
|
|
2489
2489
|
void this.parseJsonFile(text);
|
|
2490
2490
|
}
|
|
2491
|
-
}, t: this.props.t }));
|
|
2491
|
+
}, themeName: this.props.themeName, themeType: this.props.themeType, t: this.props.t }));
|
|
2492
2492
|
}
|
|
2493
2493
|
/**
|
|
2494
2494
|
* Renders the toolbar.
|
|
@@ -2591,11 +2591,11 @@ export class ObjectBrowserClass extends Component {
|
|
|
2591
2591
|
}, size: "large" },
|
|
2592
2592
|
React.createElement(PublishIcon, null)))),
|
|
2593
2593
|
this.props.objectBrowserInsertJsonObjects ? (React.createElement(Menu, { anchorEl: this.state.showImportMenu, open: !!this.state.showImportMenu, onClose: () => this.setState({ showImportMenu: null }) },
|
|
2594
|
-
React.createElement(MenuItem, { onClick: () => this.onOpenFile() },
|
|
2594
|
+
React.createElement(MenuItem, { onClick: () => this.setState({ showImportMenu: null }, () => this.onOpenFile()) },
|
|
2595
2595
|
React.createElement(ListItemIcon, null,
|
|
2596
2596
|
React.createElement(UploadFile, null)),
|
|
2597
2597
|
React.createElement(ListItemText, null, this.props.t('ra_From file'))),
|
|
2598
|
-
React.createElement(MenuItem, { onClick: () => this.setState({ showImportDialog: true }) },
|
|
2598
|
+
React.createElement(MenuItem, { onClick: () => this.setState({ showImportMenu: null, showImportDialog: true }) },
|
|
2599
2599
|
React.createElement(ListItemIcon, null,
|
|
2600
2600
|
React.createElement(ContentPaste, null)),
|
|
2601
2601
|
React.createElement(ListItemText, null, this.props.t('ra_From text'))))) : null,
|