+
+
+
+
+
+ {/* Measures grid */}
+
+ {measuresList.map((measure) => (
+ (
+
+ {
+ const checked = e.target.checked;
+ const current = new Set(field.value ?? []);
+ if (checked) {
+ current.add(measure);
+ } else {
+ current.delete(measure);
+ }
+ field.onChange(Array.from(current));
+ }}
+ className="h-4 w-4"
+ />
+
+ {measuresDisplayLabels[measure]}
+
+
+ )}
+ />
+ ))}
+
+
+ );
+}
diff --git a/src/app/portfolio/[slug]/utils.ts b/src/app/portfolio/[slug]/utils.ts
index c40c70a..40a4e4b 100644
--- a/src/app/portfolio/[slug]/utils.ts
+++ b/src/app/portfolio/[slug]/utils.ts
@@ -68,6 +68,18 @@ export async function getPortfolio(portfolioId: string): Promise