ps-toolkit-ui 1.12.18 → 1.12.20

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.
@@ -3211,7 +3211,12 @@
3211
3211
  for (var cv_1 = __values(cv), cv_1_1 = cv_1.next(); !cv_1_1.done; cv_1_1 = cv_1.next()) {
3212
3212
  var f = cv_1_1.value;
3213
3213
  var k = f.split('.').at(-1);
3214
- files += '<a target="_blank" href="' + this.table.environment.url + f + '" class="f-s-22 m-h-5 ' + exports.FileIcons[k] + '"></a>';
3214
+ if (k === 'jpeg' || k === 'jpg' || k === 'png') {
3215
+ files += '<img alt="" src="' + this.table.environment.url + f + '" style="height: 30px"/>';
3216
+ }
3217
+ else {
3218
+ files += '<a target="_blank" href="' + this.table.environment.url + f + '" class="f-s-22 m-h-5 ' + exports.FileIcons[k] + '"></a>';
3219
+ }
3215
3220
  }
3216
3221
  }
3217
3222
  catch (e_4_1) { e_4 = { error: e_4_1 }; }