feat(MED-105): update analysis results page

This commit is contained in:
2025-08-11 09:21:06 +03:00
parent aba4596edd
commit 49fc75b17b
13 changed files with 147 additions and 87 deletions

View File

@@ -5,7 +5,7 @@ export const getAnalysisElementMedusaProductIds = (products: ({ metadata?: { ana
const mapped = products
.flatMap((product) => {
const value = product?.metadata?.analysisElementMedusaProductIds;
const value = product?.metadata?.analysisElementMedusaProductIds?.replaceAll("'", '"');
try {
return JSON.parse(value as string);
} catch (e) {