rebill-web-components-sdk 1.10.8 → 1.10.9

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.
@@ -615,7 +615,7 @@ const Summary = class {
615
615
  } }, I18nService.translate('summary.free')))));
616
616
  }
617
617
  render() {
618
- const renderItemDetails = (title = true, description = true, amount = true) => (h("div", { class: "summary-card" }, (title || description) && (h("div", { class: "summary-card-info" }, title && (h("rebill-typography", { variant: "subtitle-bold", gutterBottom: true }, this.itemTitle)), description && this.itemDescription && (h("rebill-typography", { variant: "body2" }, this.itemDescription)))), amount && (h("div", { class: "summary-card-amount" }, h("rebill-typography", { variant: "body2" }, state.data?.itemInformation?.type === SESSION_ITEM_TYPE_ENUM.PLAN &&
618
+ const renderItemDetails = (title = true, description = true, amount = true) => (h("div", { class: "summary-card" }, (title || description) && (h("div", { class: "summary-card-info" }, title && (h("rebill-typography", { variant: "subtitle-bold", gutterBottom: true }, this.itemTitle)), description && this.itemDescription && (h("rebill-typography", { variant: "body2" }, h("span", { innerHTML: this.itemDescription }))))), amount && (h("div", { class: "summary-card-amount" }, h("rebill-typography", { variant: "body2" }, state.data?.itemInformation?.type === SESSION_ITEM_TYPE_ENUM.PLAN &&
619
619
  state.data?.itemInformation?.debitStrategy
620
620
  ? formatAmount(state.data?.pricing?.planAmount, this.currency)
621
621
  : formatAmount(this.subtotal, this.currency))))));