@leatcom/portal-sessions 0.0.46 → 0.0.47
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.
|
@@ -17055,7 +17055,7 @@ function Lx() {
|
|
|
17055
17055
|
}
|
|
17056
17056
|
function Ws({ reward: e, selected: t, setSelected: n, disabled: r, readOnly: i }) {
|
|
17057
17057
|
const { t: s } = ze(), { session: a } = st(), { contact: l, isLoading: f } = Tn(), m = f ? 0 : l.credit_balance.balance;
|
|
17058
|
-
return /* @__PURE__ */ u.jsxs(
|
|
17058
|
+
return console.log(e), /* @__PURE__ */ u.jsxs(
|
|
17059
17059
|
"div",
|
|
17060
17060
|
{
|
|
17061
17061
|
className: `max-h-[48px] rounded-lg border ${r ? "pointer-events-none opacity-40" : !i && "cursor-pointer"}`,
|
|
@@ -17070,7 +17070,7 @@ function Ws({ reward: e, selected: t, setSelected: n, disabled: r, readOnly: i }
|
|
|
17070
17070
|
/* @__PURE__ */ u.jsx(
|
|
17071
17071
|
"img",
|
|
17072
17072
|
{
|
|
17073
|
-
src: e.media.value
|
|
17073
|
+
src: e.media && e.media.value ? e.media.value : "https://static.piggy.nl/images/fallback_image.png",
|
|
17074
17074
|
alt: "voucher_image",
|
|
17075
17075
|
className: "h-[32px] w-[32px] rounded object-cover object-center"
|
|
17076
17076
|
}
|