@ibiz-template/runtime 0.5.4 → 0.5.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/dist/index.esm.js CHANGED
@@ -31825,7 +31825,7 @@ var MDViewEngine = class extends ViewEngineBase {
31825
31825
  this.reLoad();
31826
31826
  });
31827
31827
  }
31828
- if (!this.view.state.noLoadDefault && model.loadDefault && !this.searchBar.hasDefaultSelect) {
31828
+ if (!this.view.state.noLoadDefault && model.loadDefault && (!this.searchBar || !this.searchBar.hasDefaultSelect)) {
31829
31829
  this.load();
31830
31830
  }
31831
31831
  }