@littlebox/strapi-suite 1.0.45 → 1.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.
@@ -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.toLowerCase()] = item.translation;
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.toLowerCase()]: item.translation
2659
+ [item.locale]: item.translation
2660
2660
  }
2661
2661
  };
2662
2662
  }
@@ -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.toLowerCase()] = item.translation;
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.toLowerCase()]: item.translation
2658
+ [item.locale]: item.translation
2659
2659
  }
2660
2660
  };
2661
2661
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.45",
2
+ "version": "1.0.47",
3
3
  "keywords": [
4
4
  "strapi",
5
5
  "strapi plugin",