@iobroker/adapter-react-v5 8.0.4 → 8.0.5

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.4 (2025-10-25)
694
+ ### 8.0.5 (2025-10-25)
695
695
 
696
696
  - (@GermanBluefox) Fixed filter in the object browser
697
697
 
@@ -408,7 +408,6 @@ interface ObjectBrowserState {
408
408
  export declare class ObjectBrowserClass extends Component<ObjectBrowserProps, ObjectBrowserState> {
409
409
  private info;
410
410
  private localStorage;
411
- private lastAppliedFilter;
412
411
  private readonly tableRef;
413
412
  private pausedSubscribes;
414
413
  private selectFirst;
@@ -2038,7 +2038,6 @@ export class ObjectBrowserClass extends Component {
2038
2038
  aliasesMap: {},
2039
2039
  };
2040
2040
  localStorage = window._localStorage || window.localStorage;
2041
- lastAppliedFilter = null;
2042
2041
  tableRef;
2043
2042
  pausedSubscribes = false;
2044
2043
  selectFirst;
@@ -3070,9 +3069,8 @@ export class ObjectBrowserClass extends Component {
3070
3069
  });
3071
3070
  this.root = root;
3072
3071
  this.info = info;
3073
- this.lastAppliedFilter = null; // apply filter anew
3074
3072
  if (!this.pausedSubscribes) {
3075
- this.forceUpdate();
3073
+ this.doFilter();
3076
3074
  }
3077
3075
  // else it will be re-rendered when the dialog will be closed
3078
3076
  }, 500);
@@ -6237,6 +6235,9 @@ export class ObjectBrowserClass extends Component {
6237
6235
  else if (counter.count >= 500 && this.state.expandAllVisible) {
6238
6236
  setTimeout(() => this.setState({ expandAllVisible: false }));
6239
6237
  }
6238
+ else {
6239
+ this.forceUpdate();
6240
+ }
6240
6241
  }
6241
6242
  /**
6242
6243
  * The rendering method of this component.