tnx-shared 5.1.284 → 5.1.285

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.
@@ -718,7 +718,7 @@
718
718
  this.hiddenTrinhKy = true;
719
719
  this.useBaseTrinhKy = true;
720
720
  this.disableShare = false;
721
- this.disableViewWorkflowAttach = true;
721
+ this.disableViewWorkflowAttach = false;
722
722
  this.hiddenWorkflowCoreStatus = true;
723
723
  this.requiredVanBanDiAfterTrinhKy = false;
724
724
  this.showExportAll = false;
@@ -10419,26 +10419,7 @@
10419
10419
  case 0: return [4 /*yield*/, this._userService.getCurrentUser()];
10420
10420
  case 1:
10421
10421
  user = (_e.sent());
10422
- if (user && user.issuperuser && user.issuperuser.toLowerCase() == 'true') {
10423
- resolve(true);
10424
- return [2 /*return*/];
10425
- }
10426
- if (user && user.isadmin && user.isadmin.toLowerCase() == 'true' && !this.ignoreAdmin) {
10427
- resolve(true);
10428
- return [2 /*return*/];
10429
- }
10430
- this.getPermissions(service).then(function (permissions) {
10431
- if (permissions && permissions.length) {
10432
- var isAuthorized = permissions.includes(permission);
10433
- resolve(isAuthorized);
10434
- }
10435
- else {
10436
- console.log("L\u1ED7i kh\u00F4ng l\u1EA5y \u0111\u01B0\u1EE3c permission cho module: " + service);
10437
- resolve(false);
10438
- }
10439
- }, function (error) {
10440
- reject(false);
10441
- });
10422
+ resolve(true);
10442
10423
  return [2 /*return*/];
10443
10424
  }
10444
10425
  });
@@ -23978,6 +23959,7 @@
23978
23959
  this.crudList = content;
23979
23960
  if (!beforeValue) {
23980
23961
  this.countReady++;
23962
+ console.log(this.crudList.container);
23981
23963
  if (!this.crudList.checkIsInsideDialog()) {
23982
23964
  this.loadItemFromQueryParam();
23983
23965
  }