@social-mail/social-mail-client 1.2.265 → 1.2.266

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.
@@ -53531,9 +53531,12 @@ System.register(["tslib", "@web-atoms/core/dist/web/controls/AtomControl", "../.
53531
53531
  return __awaiter(this, void 0, void 0, function* () {
53532
53532
  (_a = (_b = this.model).mediaFiles) !== null && _a !== void 0 ? _a : _b.mediaFiles = [];
53533
53533
  for (const appFile of files) {
53534
+ const isPreview = /^(image|video)\//i.test(appFile.contentType);
53534
53535
  this.model.mediaFiles.add(StoreMediaFile.create({
53535
53536
  appFile,
53536
- appFileID: appFile.appFileID
53537
+ appFileID: appFile.appFileID,
53538
+ fileContentID: appFile.fileContentID,
53539
+ isPreview
53537
53540
  }));
53538
53541
  }
53539
53542
  });