pause previous ai-linked goals on self plan regeneration
This commit is contained in:
1 parent
a65b3cac08
commit
e119f0923c
2 files changed
+123
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user