Fixed Phase Change

Fixed Evaluate Date
This commit is contained in:
2025-11-11 08:56:52 +01:00
parent 94aee4540a
commit 57abbe8534
2 changed files with 3 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ const changeActivePhase = async (key) => {
return p
})
const res = await useEntities("projects").update(item.id, {phases:item.phases})
const res = await useEntities("projects").update(item.id, {phases:item.phases,active_phase: item.phases.find(i => i.active).label})
//const {error:updateError} = await supabase.from("projects").update({phases: item.phases}).eq("id",item.id)