@iobroker/adapter-react-v5 8.2.5 → 8.2.7
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 +6 -1
- package/build/Components/ObjectBrowser.js.map +1 -1
- package/build/Components/Utils.js +3 -0
- package/build/Components/Utils.js.map +1 -1
- package/build/Components/objectBrowser.types.d.ts +1 -0
- package/build/Components/objectBrowserUtils.js +2 -2
- package/build/Components/objectBrowserUtils.js.map +1 -1
- package/build/Theme.js +1 -0
- package/build/Theme.js.map +1 -1
- package/build/types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -391,7 +391,7 @@ export function getSelectIdIconFromObjects(objects, id, lang, imagePrefix) {
|
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
393
|
else {
|
|
394
|
-
const common = objects[id]
|
|
394
|
+
const common = objects[id]?.common;
|
|
395
395
|
if (common) {
|
|
396
396
|
const cIcon = common.icon;
|
|
397
397
|
if (cIcon) {
|
|
@@ -1222,7 +1222,7 @@ export function formatValue(options) {
|
|
|
1222
1222
|
*/
|
|
1223
1223
|
export function getValueStyle(options) {
|
|
1224
1224
|
const { state /* , isExpertMode, isButton */ } = options;
|
|
1225
|
-
const color = state?.ack ? (state.q ? '#ffa500' : '') : '#ff2222c9';
|
|
1225
|
+
const color = state?.ack ? (state.q ? '#ffa500' : '') : options.nonAckColor || '#ff2222c9';
|
|
1226
1226
|
// do not show the color of the button in non-expert mode
|
|
1227
1227
|
// if (!isExpertMode && isButton) {
|
|
1228
1228
|
// color = '';
|