comand-component-library 3.3.60 → 3.3.62

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.
@@ -1955,7 +1955,11 @@ const Il = {
1955
1955
  this.allowOpenFancyBox && Mt({ fancyBoxGallery: this.items, defaultGalleryIndex: e }), this.emitCurrentItemId(e);
1956
1956
  },
1957
1957
  emitCurrentItemId(e) {
1958
- this.$emit("click", this.items[e].image.id);
1958
+ if (this.contentType === "image") {
1959
+ this.$emit("click", this.items[e].image.id);
1960
+ return;
1961
+ }
1962
+ this.$emit("click", this.items[e].id);
1959
1963
  },
1960
1964
  executeLink(e, i) {
1961
1965
  this.executeOnClick === "emit" ? (i.preventDefault(), this.emitCurrentItemId(e)) : this.executeOnClick === "fancybox" && (i.preventDefault(), this.showFancyBox(e));