@covet-pics/covet-pics-widget 0.162.2 → 0.162.3

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.
@@ -698,7 +698,7 @@ const CovetPicsGalleryItemDetail = class {
698
698
  index.h("div", { class: `top ${this.itemStyle} ${this.itemSize}` }, this.itemStyle === "basic-1" && this.userName && index.h("span", { class: `avatar ${this.itemSize}` }, this.userName[0]), this.itemStyle === "basic-1" &&
699
699
  index.h("div", { class: "top-wrap" }, index.h("h3", { class: `username basic-1 ${this.itemSize}` }, this.userName), index.h("span", { class: `created-time basic-1 ${this.itemSize}` }, index$1.format(this.createdTime))), this.renderRating()), showRowStarRating && this.rating > 0 &&
700
700
  index.h("div", { class: `top ${this.itemStyle} ${this.itemSize} ${this.reviewClass} ${this.starOnlyClass}` }, index.h(popupFuncComponents.StarRating, { rating: this.rating, ratingClass: `star-rating ${this.itemStyle} ${this.itemSize} ${this.reviewClass}`, starClass: `${this.itemStyle} ${this.itemSize}` })), !hideCaption && this.itemType !== "text" &&
701
- index.h("p", { class: `caption ${this.layout} ${this.itemStyle} ${this.itemSize} ${jsTextCut}`, style: this.captionCSS, innerHTML: this.caption }), this.itemType === "text" &&
701
+ index.h("p", { class: `caption ${this.layout} ${this.itemStyle} ${this.itemSize} ${jsTextCut}`, style: this.captionCSS, innerHTML: this.caption }), this.itemType === "text" && this.links[0] &&
702
702
  index.h("div", { class: `bottom-review ${this.itemStyle} ${this.layout} ${this.highlightedClass}` }, index.h("span", { class: `link-label ${this.itemStyle}` }, "Review For"), index.h("a", { href: this.tabIndex !== -1 ? this.links[0].link : null, class: `link-review ${this.itemStyle}` }, this.links[0].title)), this.itemStyle !== "basic-1" &&
703
703
  index.h("div", { class: `bottom ${this.itemStyle} ${this.itemSize} ${this.layout} ${this.highlightedClass} ${this.reviewClass} ${this.starOnlyClass}` }, this.renderUserAndDate())))));
704
704
  }