fix: change error when section for item not found to logged warning and remove item (#2044)

This commit is contained in:
Meier Lukas
2025-01-22 18:18:14 +01:00
committed by GitHub
parent 29d4f9e003
commit b413e2ec7d
2 changed files with 8 additions and 6 deletions

View File

@@ -10,5 +10,5 @@ export const prepareItems = (
) =>
widgets
.map((widget) => mapWidget(widget, boardSize, appsMap, sectionMap))
.filter((widget) => widget !== null)
.concat(apps.map((app) => mapApp(app, boardSize, appsMap, sectionMap)));
.concat(apps.map((app) => mapApp(app, boardSize, appsMap, sectionMap)))
.filter((widget) => widget !== null);