@iobroker/adapter-react-v5 7.2.1 → 7.2.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/Components/IconPicker.js +1 -1
- package/GenericApp.js +1 -1
- package/README.md +6 -3
- package/package.json +1 -1
- package/src/Components/IconPicker.tsx +1 -1
- package/src/GenericApp.tsx +1 -1
package/Components/IconPicker.js
CHANGED
package/GenericApp.js
CHANGED
|
@@ -236,7 +236,7 @@ class GenericApp extends Router_1.default {
|
|
|
236
236
|
'zh-cn': zh_cn_json_1.default,
|
|
237
237
|
};
|
|
238
238
|
// merge together
|
|
239
|
-
if (settings
|
|
239
|
+
if (settings === null || settings === void 0 ? void 0 : settings.translations) {
|
|
240
240
|
Object.keys(settings.translations).forEach(lang => {
|
|
241
241
|
if (settings.translations) {
|
|
242
242
|
translations[lang] = Object.assign(translations[lang], settings.translations[lang] || {});
|
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ If you want to create the configuration page with ReactJS:
|
|
|
13
13
|
- Change `name` from `src` to `ADAPTERNAME-admin` (Of course replace `ADAPTERNAME` with yours)
|
|
14
14
|
- Add to devDependencies:
|
|
15
15
|
```
|
|
16
|
-
"@iobroker/adapter-react-v5": "^7.2.
|
|
16
|
+
"@iobroker/adapter-react-v5": "^7.2.2",
|
|
17
17
|
```
|
|
18
18
|
Versions can be higher.
|
|
19
19
|
So your `src/package.json` should look like:
|
|
@@ -24,7 +24,7 @@ If you want to create the configuration page with ReactJS:
|
|
|
24
24
|
"version": "0.1.0",
|
|
25
25
|
"private": true,
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@iobroker/adapter-react-v5": "^7.2.
|
|
27
|
+
"@iobroker/adapter-react-v5": "^7.2.2",
|
|
28
28
|
"@iobroker/build-tools": "^1.0.0",
|
|
29
29
|
"@iobroker/eslint-config": "^0.1.2",
|
|
30
30
|
"@mui/material": "^6.0.2",
|
|
@@ -697,9 +697,12 @@ You can find the migration instructions:
|
|
|
697
697
|
-->
|
|
698
698
|
|
|
699
699
|
## Changelog
|
|
700
|
+
### 7.2.2 (2024-10-04)
|
|
701
|
+
- (@GermanBluefox) Small layout change for Icon Picker
|
|
702
|
+
|
|
700
703
|
### 7.2.1 (2024-09-30)
|
|
701
704
|
|
|
702
|
-
- (
|
|
705
|
+
- (@GermanBluefox) Allowed using an array of elements in dialogs
|
|
703
706
|
- (@GermanBluefox) Allowed to use `socket.iob` instead of `socket.io`
|
|
704
707
|
|
|
705
708
|
### 7.1.4 (2024-09-15)
|
package/package.json
CHANGED
package/src/GenericApp.tsx
CHANGED
|
@@ -254,7 +254,7 @@ class GenericApp<
|
|
|
254
254
|
};
|
|
255
255
|
|
|
256
256
|
// merge together
|
|
257
|
-
if (settings
|
|
257
|
+
if (settings?.translations) {
|
|
258
258
|
Object.keys(settings.translations).forEach(lang => {
|
|
259
259
|
if (settings.translations) {
|
|
260
260
|
translations[lang as ioBroker.Languages] = Object.assign(
|