@littlebox/strapi-suite 1.0.45 → 1.0.46
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/server/index.js +2 -2
- package/dist/server/index.mjs +2 -2
- package/package.json +1 -1
package/dist/server/index.js
CHANGED
|
@@ -2650,13 +2650,13 @@ const ParameterModuleService = ({ strapi: strapi2 }) => ({
|
|
|
2650
2650
|
function groupByUid(items) {
|
|
2651
2651
|
const groupedMap = items.reduce((acc, item) => {
|
|
2652
2652
|
if (acc[item.uid]) {
|
|
2653
|
-
acc[item.uid].translations[item.locale
|
|
2653
|
+
acc[item.uid].translations[item.locale] = item.translation;
|
|
2654
2654
|
} else {
|
|
2655
2655
|
acc[item.uid] = {
|
|
2656
2656
|
id: item.id,
|
|
2657
2657
|
uid: item.uid,
|
|
2658
2658
|
translations: {
|
|
2659
|
-
[item.locale
|
|
2659
|
+
[item.locale]: item.translation
|
|
2660
2660
|
}
|
|
2661
2661
|
};
|
|
2662
2662
|
}
|
package/dist/server/index.mjs
CHANGED
|
@@ -2649,13 +2649,13 @@ const ParameterModuleService = ({ strapi: strapi2 }) => ({
|
|
|
2649
2649
|
function groupByUid(items) {
|
|
2650
2650
|
const groupedMap = items.reduce((acc, item) => {
|
|
2651
2651
|
if (acc[item.uid]) {
|
|
2652
|
-
acc[item.uid].translations[item.locale
|
|
2652
|
+
acc[item.uid].translations[item.locale] = item.translation;
|
|
2653
2653
|
} else {
|
|
2654
2654
|
acc[item.uid] = {
|
|
2655
2655
|
id: item.id,
|
|
2656
2656
|
uid: item.uid,
|
|
2657
2657
|
translations: {
|
|
2658
|
-
[item.locale
|
|
2658
|
+
[item.locale]: item.translation
|
|
2659
2659
|
}
|
|
2660
2660
|
};
|
|
2661
2661
|
}
|
package/package.json
CHANGED