tnx-shared 5.3.150 → 5.3.151

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.
@@ -32037,7 +32037,8 @@
32037
32037
  });
32038
32038
  });
32039
32039
  };
32040
- MenuService.prototype.renderMenuByAppCode = function (appCode) {
32040
+ MenuService.prototype.renderMenuByAppCode = function (appCode, clearPrevMenu) {
32041
+ if (clearPrevMenu === void 0) { clearPrevMenu = false; }
32041
32042
  return __awaiter(this, void 0, void 0, function () {
32042
32043
  var root, domainMenus, environment, menuUrl;
32043
32044
  var _this = this;
@@ -32065,7 +32066,7 @@
32065
32066
  case 1:
32066
32067
  menu = _b.apply(_a, [_c.sent()]);
32067
32068
  this.setDefaultIcon(menu, 0);
32068
- return [4 /*yield*/, this.setMenuItems(menu)];
32069
+ return [4 /*yield*/, this.setMenuItems(menu, clearPrevMenu)];
32069
32070
  case 2:
32070
32071
  _c.sent();
32071
32072
  return [2 /*return*/];