@fluid-app/portal-sdk 0.1.1073 → 0.1.1075
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.
- package/dist/{SubscriptionsScreen-Dt5dpECl.mjs → SubscriptionsScreen-BbdDoJ_k.mjs} +2 -4
- package/dist/SubscriptionsScreen-BbdDoJ_k.mjs.map +1 -0
- package/dist/{SubscriptionsScreen-X7UGvKrB.cjs → SubscriptionsScreen-CYzvx-lh.cjs} +1 -1
- package/dist/{SubscriptionsScreen-B5n8Q2UN.mjs → SubscriptionsScreen-DMytnFbU.mjs} +1 -1
- package/dist/{SubscriptionsScreen-Bmn_fq0c.cjs → SubscriptionsScreen-eqtRjLFP.cjs} +2 -4
- package/dist/SubscriptionsScreen-eqtRjLFP.cjs.map +1 -0
- package/dist/index.cjs +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
- package/dist/SubscriptionsScreen-Bmn_fq0c.cjs.map +0 -1
- package/dist/SubscriptionsScreen-Dt5dpECl.mjs.map +0 -1
|
@@ -6224,10 +6224,8 @@ function cancelReasonChoice(draft) {
|
|
|
6224
6224
|
} : { reasonCode: draft.code };
|
|
6225
6225
|
}
|
|
6226
6226
|
function CancelReasonPicker({ reasons, value, onChange, disabled }) {
|
|
6227
|
-
const { t
|
|
6227
|
+
const { t } = useSubscriptionsTranslation();
|
|
6228
6228
|
const labelFor = (reason) => {
|
|
6229
|
-
const merchantLabel = reason.labels[locale] ?? reason.labels[locale.split(/[-_]/)[0] ?? ""];
|
|
6230
|
-
if (merchantLabel) return merchantLabel;
|
|
6231
6229
|
const key = DICTIONARY_LABELS[reason.code];
|
|
6232
6230
|
return key ? t(key) : reason.code;
|
|
6233
6231
|
};
|
|
@@ -10070,4 +10068,4 @@ const subscriptionsScreenPropertySchema = {
|
|
|
10070
10068
|
//#endregion
|
|
10071
10069
|
export { subscriptionsScreenPropertySchema as n, SubscriptionsScreen as t };
|
|
10072
10070
|
|
|
10073
|
-
//# sourceMappingURL=SubscriptionsScreen-
|
|
10071
|
+
//# sourceMappingURL=SubscriptionsScreen-BbdDoJ_k.mjs.map
|