@iobroker/adapter-react-v5 8.2.9 → 8.2.11

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.
@@ -3416,24 +3416,30 @@ export class ObjectBrowserClass extends Component {
3416
3416
  if (id === '0_userdata') {
3417
3417
  checkColor = COLOR_NAME_USERDATA(this.props.themeType);
3418
3418
  bold = true;
3419
+ invertBackground = false;
3419
3420
  }
3420
3421
  else if (id === 'alias') {
3421
3422
  checkColor = COLOR_NAME_ALIAS(this.props.themeType);
3422
3423
  bold = true;
3424
+ invertBackground = false;
3423
3425
  }
3424
3426
  else if (id === 'javascript') {
3425
3427
  checkColor = COLOR_NAME_JAVASCRIPT(this.props.themeType);
3426
3428
  bold = true;
3429
+ invertBackground = false;
3427
3430
  }
3428
3431
  else if (id === 'system') {
3429
3432
  checkColor = COLOR_NAME_SYSTEM(this.props.themeType);
3430
3433
  bold = true;
3434
+ invertBackground = false;
3431
3435
  }
3432
3436
  else if (id === 'system.adapter') {
3433
3437
  checkColor = COLOR_NAME_SYSTEM_ADAPTER(this.props.themeType);
3438
+ invertBackground = false;
3434
3439
  }
3435
3440
  else if (!checkColor || this.state.selected.includes(id)) {
3436
3441
  checkColor = 'inherit';
3442
+ invertBackground = false;
3437
3443
  }
3438
3444
  const icons = [];
3439
3445
  if (common?.statusStates) {
@@ -3462,6 +3468,7 @@ export class ObjectBrowserClass extends Component {
3462
3468
  let colorSet = false;
3463
3469
  if (common.statusStates.errorId && this.states[ids.errorId] && this.states[ids.errorId].val) {
3464
3470
  checkColor = this.props.themeType === 'dark' ? COLOR_NAME_ERROR_DARK : COLOR_NAME_ERROR_LIGHT;
3471
+ invertBackground = false;
3465
3472
  colorSet = true;
3466
3473
  icons.push(React.createElement(IconError, { key: "error",
3467
3474
  // title={this.texts.deviceError}
@@ -3472,6 +3479,7 @@ export class ObjectBrowserClass extends Component {
3472
3479
  if (this.states[ids.onlineId].val) {
3473
3480
  checkColor =
3474
3481
  this.props.themeType === 'dark' ? COLOR_NAME_CONNECTED_DARK : COLOR_NAME_CONNECTED_LIGHT;
3482
+ invertBackground = false;
3475
3483
  icons.push(React.createElement(IconConnection, { key: "conn",
3476
3484
  // title={this.texts.deviceError}
3477
3485
  style: this.styles.iconDeviceConnected }));
@@ -3481,6 +3489,7 @@ export class ObjectBrowserClass extends Component {
3481
3489
  this.props.themeType === 'dark'
3482
3490
  ? COLOR_NAME_DISCONNECTED_DARK
3483
3491
  : COLOR_NAME_DISCONNECTED_LIGHT;
3492
+ invertBackground = false;
3484
3493
  icons.push(React.createElement(IconDisconnected, { key: "disc",
3485
3494
  // title={this.texts.deviceError}
3486
3495
  style: this.styles.iconDeviceDisconnected }));
@@ -3504,6 +3513,7 @@ export class ObjectBrowserClass extends Component {
3504
3513
  this.props.themeType === 'dark'
3505
3514
  ? COLOR_NAME_DISCONNECTED_DARK
3506
3515
  : COLOR_NAME_DISCONNECTED_LIGHT;
3516
+ invertBackground = false;
3507
3517
  icons.push(React.createElement(IconDisconnected, { key: "disc",
3508
3518
  // title={this.texts.deviceError}
3509
3519
  style: this.styles.iconDeviceDisconnected }));
@@ -3511,6 +3521,7 @@ export class ObjectBrowserClass extends Component {
3511
3521
  else {
3512
3522
  checkColor =
3513
3523
  this.props.themeType === 'dark' ? COLOR_NAME_CONNECTED_DARK : COLOR_NAME_CONNECTED_LIGHT;
3524
+ invertBackground = false;
3514
3525
  icons.push(React.createElement(IconConnection, { key: "conn",
3515
3526
  // title={this.texts.deviceError}
3516
3527
  style: this.styles.iconDeviceConnected }));