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)
|
||||
|
||||
|
||||
@@ -208,11 +208,11 @@ changeRange()
|
||||
</template>
|
||||
|
||||
<template #start-data="{ row }">
|
||||
{{ $dayjs(row.startDate).format('HH:mm DD.MM.YY') }} Uhr
|
||||
{{ $dayjs(row.started_at).format('HH:mm DD.MM.YY') }} Uhr
|
||||
</template>
|
||||
|
||||
<template #end-data="{ row }">
|
||||
{{ $dayjs(row.endDate).format('HH:mm DD.MM.YY') }} Uhr
|
||||
{{ $dayjs(row.stopped_at).format('HH:mm DD.MM.YY') }} Uhr
|
||||
</template>
|
||||
|
||||
<template #duration-data="{ row }">
|
||||
|
||||
Reference in New Issue
Block a user