catchup-library-web 2.2.5 → 2.2.6
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/index.js
CHANGED
|
@@ -7317,7 +7317,7 @@ var ActivityPreviewByData = ({
|
|
|
7317
7317
|
for (const activityTemplateType of activityTemplateTypeList) {
|
|
7318
7318
|
const currentTypeOption = {
|
|
7319
7319
|
id: activityTemplateType.type,
|
|
7320
|
-
|
|
7320
|
+
text: i18n_default.t(activityTemplateType.type)
|
|
7321
7321
|
};
|
|
7322
7322
|
if (showDifficulty) {
|
|
7323
7323
|
currentTypeOption.subText = i18n_default.t(
|
|
@@ -7419,7 +7419,6 @@ var ActivityPreviewByData = ({
|
|
|
7419
7419
|
}
|
|
7420
7420
|
};
|
|
7421
7421
|
if (!data) return null;
|
|
7422
|
-
console.log(optionList);
|
|
7423
7422
|
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { children: [
|
|
7424
7423
|
showType && optionList.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
|
|
7425
7424
|
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "mb-4", children: [
|
package/dist/index.mjs
CHANGED
|
@@ -7094,7 +7094,7 @@ var ActivityPreviewByData = ({
|
|
|
7094
7094
|
for (const activityTemplateType of activityTemplateTypeList) {
|
|
7095
7095
|
const currentTypeOption = {
|
|
7096
7096
|
id: activityTemplateType.type,
|
|
7097
|
-
|
|
7097
|
+
text: i18n_default.t(activityTemplateType.type)
|
|
7098
7098
|
};
|
|
7099
7099
|
if (showDifficulty) {
|
|
7100
7100
|
currentTypeOption.subText = i18n_default.t(
|
|
@@ -7196,7 +7196,6 @@ var ActivityPreviewByData = ({
|
|
|
7196
7196
|
}
|
|
7197
7197
|
};
|
|
7198
7198
|
if (!data) return null;
|
|
7199
|
-
console.log(optionList);
|
|
7200
7199
|
return /* @__PURE__ */ jsxs36("div", { children: [
|
|
7201
7200
|
showType && optionList.length > 0 ? /* @__PURE__ */ jsxs36(Fragment11, { children: [
|
|
7202
7201
|
/* @__PURE__ */ jsxs36("div", { className: "mb-4", children: [
|
package/package.json
CHANGED
|
@@ -79,7 +79,7 @@ const ActivityPreviewByData = ({
|
|
|
79
79
|
for (const activityTemplateType of activityTemplateTypeList) {
|
|
80
80
|
const currentTypeOption: any = {
|
|
81
81
|
id: activityTemplateType.type,
|
|
82
|
-
|
|
82
|
+
text: i18n.t(activityTemplateType.type),
|
|
83
83
|
};
|
|
84
84
|
if (showDifficulty) {
|
|
85
85
|
currentTypeOption.subText = i18n.t(
|
|
@@ -215,8 +215,6 @@ const ActivityPreviewByData = ({
|
|
|
215
215
|
|
|
216
216
|
if (!data) return null;
|
|
217
217
|
|
|
218
|
-
console.log(optionList);
|
|
219
|
-
|
|
220
218
|
return (
|
|
221
219
|
<div>
|
|
222
220
|
{showType && optionList.length > 0 ? (
|