tsv2-library 1.0.61-alpha.35 → 1.0.61-alpha.36

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.
@@ -55387,6 +55387,9 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
55387
55387
  });
55388
55388
  const usePreview = computed(() => {
55389
55389
  var _a, _b;
55390
+ if (!thumbnailString.value) {
55391
+ return false;
55392
+ }
55390
55393
  return !errorLoadImage.value && (!!previewString.value || !((_a = imageThumbnail.value) == null ? void 0 : _a.toString().includes("data:image/svg+xml"))) && !((_b = imageThumbnail.value) == null ? void 0 : _b.toString().toLowerCase().includes("placeholder"));
55391
55394
  });
55392
55395
  const imageThumbnail = computedAsync(
@@ -55473,7 +55476,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
55473
55476
  watch(
55474
55477
  usePreview,
55475
55478
  (val) => {
55476
- console.log("👽👽:", val, imagePreview.value);
55479
+ console.log("👽👽:", val, thumbnailString.value);
55477
55480
  },
55478
55481
  { immediate: true }
55479
55482
  );