@ibiz-template/model-helper 0.6.2 → 0.6.4

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
@@ -16324,6 +16324,15 @@ var ModelHelper = class {
16324
16324
  const view = appSourceModel.getDefaultPSAppIndexView;
16325
16325
  const name = view.path.split("/").pop().replace(".json", "");
16326
16326
  ibiz.hub.defaultAppIndexViewName = name;
16327
+ if (!ibiz.env.AppTitle) {
16328
+ const views = appSourceModel.cache.getPSAppViews;
16329
+ const indexView = views.find(
16330
+ (viewItem) => viewItem.dynaModelFilePath === view.path
16331
+ );
16332
+ if (indexView) {
16333
+ ibiz.env.AppTitle = indexView.title;
16334
+ }
16335
+ }
16327
16336
  }
16328
16337
  if (appSourceModel.getAllPSAppCodeLists) {
16329
16338
  const codeLists = appSourceModel.getAllPSAppCodeLists;