refactor: revert assignment of oldmarr widget mapping (#1780)

This commit is contained in:
Meier Lukas authored and GitHub committed 2024-12-26 08:58:06 +01:00
1 parent e37279fe80
commit ef24370a8c
5 files changed
+73 -50

No files matched your search

+5 -1
View File
@@ -83,7 +83,11 @@ export const mapWidget = (
yOffset: shapeForSize.location.y,
kind,
options: SuperJSON.stringify(
mapOptions(kind, widget.properties, new Map([...appsMap.entries()].map(([key, value]) => [key, value.id]))),
mapOptions(
widget.type,
widget.properties,
new Map([...appsMap.entries()].map(([key, value]) => [key, value.id])),
),
),
};
};