tnx-shared 5.3.390 → 5.3.391

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.
@@ -31473,8 +31473,13 @@ class FileManagerComponent extends DataListBase {
31473
31473
  // Tải thư mục/ tệp.
31474
31474
  download(explorerItem) {
31475
31475
  return __awaiter(this, void 0, void 0, function* () {
31476
- const model = this._downloadLinkService.getGenerateDownloadLinkModel(explorerItem);
31477
- this._downloadLinkService.downloadLink(model);
31476
+ this._notifierService.showConfirm(`<b>Lưu ý!</b><br/><br/>Xác nhận tải về?`, 'Thông báo')
31477
+ .then((confirm) => __awaiter(this, void 0, void 0, function* () {
31478
+ if (!confirm)
31479
+ return;
31480
+ const model = this._downloadLinkService.getGenerateDownloadLinkModel(explorerItem);
31481
+ this._downloadLinkService.downloadLink(model);
31482
+ }));
31478
31483
  });
31479
31484
  }
31480
31485
  copyDownloadLink(explorerItem) {