@guillotinaweb/react-gmi 0.35.2 → 0.35.3

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/react-gmi.js CHANGED
@@ -10850,7 +10850,11 @@ var prepareData = (result) => {
10850
10850
  const addons = arrayToObject(result.available);
10851
10851
  return {
10852
10852
  available: result.available.filter((item) => !result.installed.includes(item.id)),
10853
- installed: result.installed.map((id) => addons[id])
10853
+ installed: result.installed.map((id) => addons[id] ?? {
10854
+ id,
10855
+ title: id,
10856
+ dependencies: []
10857
+ })
10854
10858
  };
10855
10859
  };
10856
10860
  var arrayToObject = (array) => array.reduce((obj, item) => {