S5: onboarding → minne + smaksignaler (user_stated)
This commit is contained in:
@@ -320,6 +320,21 @@ export function renderMemorySummary(
|
||||
if (typeof v.spicePreference === "string") {
|
||||
return `Spice preference: ${String(v.spicePreference)}`;
|
||||
}
|
||||
if (typeof v.goal === "string") {
|
||||
return `Goal: ${String(v.goal)}`;
|
||||
}
|
||||
if (typeof v.primaryGoal === "string") {
|
||||
return `Primary goal: ${String(v.primaryGoal)}`;
|
||||
}
|
||||
if (typeof v.allergen === "string") {
|
||||
return `Allergy: ${String(v.allergen)}`;
|
||||
}
|
||||
if (typeof v.avoidIngredientId === "string") {
|
||||
return `Avoids ingredient: ${String(v.avoidIngredientId)}`;
|
||||
}
|
||||
if (typeof v.spiceLevelMax === "number") {
|
||||
return `Max spice level: ${v.spiceLevelMax}`;
|
||||
}
|
||||
}
|
||||
return item.summarySv;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user