Fixed Phase Change
Fixed Evaluate Date
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user