- {items.map((item) => {
- const WidgetIcon = widgetCatalogIcons[item.kind];
- const app = item.appId === null ? undefined : appsById.get(item.appId);
- const label = app?.name ?? (item.title?.trim() || t(`widget.${item.kind}.name`));
-
- return (
-
-
-
- {app ? (
-
- ) : (
-
- )}
-
-
- {label}
-
-
-
- );
- })}
-
- )}
-