@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.
@@ -10832,7 +10832,11 @@ var prepareData = (result) => {
10832
10832
  const addons = arrayToObject(result.available);
10833
10833
  return {
10834
10834
  available: result.available.filter((item) => !result.installed.includes(item.id)),
10835
- installed: result.installed.map((id) => addons[id])
10835
+ installed: result.installed.map((id) => addons[id] ?? {
10836
+ id,
10837
+ title: id,
10838
+ dependencies: []
10839
+ })
10836
10840
  };
10837
10841
  };
10838
10842
  var arrayToObject = (array) => array.reduce((obj, item) => {