@bygghammar/cms-platform 0.38.0 → 0.38.1
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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bygghammar/cms-platform",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.1",
|
|
4
4
|
"description": "Shared CMS platform: blocks, block types, i18n core, UI primitives and design-token contract used by every Bygghammar/Voyara site.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -1232,7 +1232,9 @@ export async function listDeliveryAttemptsCore(
|
|
|
1232
1232
|
.order("created_at", { ascending: false })
|
|
1233
1233
|
.limit(2000);
|
|
1234
1234
|
const { data: forms } = await context.supabase.from("forms").select("key, name");
|
|
1235
|
-
const names = new Map
|
|
1235
|
+
const names = new Map<string, string>(
|
|
1236
|
+
(forms ?? []).map((f: any) => [f.key as string, f.name as string]),
|
|
1237
|
+
);
|
|
1236
1238
|
|
|
1237
1239
|
const perForm = new Map<
|
|
1238
1240
|
string,
|