pause previous ai-linked goals on self plan regeneration

This commit is contained in:
dimitar committed 2026-03-31 19:10:17 +02:00
1 parent a65b3cac08
commit e119f0923c
2 files changed
+123

No files matched your search

+1
View File
@@ -154,6 +154,7 @@ export default function GoalsScreen() {
)[0];
const isGoalAiAligned = (goal: FitnessGoal) => {
if (goal.notes?.startsWith("[AI_LINKED]")) return true;
if (!latestApprovedRecommendation?.activityPlan) return false;
const planText = latestApprovedRecommendation.activityPlan.toLowerCase();