Changes in Events

Changes in Times
This commit is contained in:
2024-07-10 21:10:39 +02:00
parent dc3c8a2b60
commit f9909a87aa
2 changed files with 18 additions and 6 deletions

View File

@@ -111,6 +111,7 @@ const startTime = async () => {
console.log("started")
timeInfo.value.user = user.value.id
timeInfo.value.start = new Date().toISOString()
timeInfo.value.tenant = dataStore.currentTenant
const {data,error} = await supabase
.from("times")
@@ -251,7 +252,7 @@ const setState = async (newState) => {
</USelectMenu>
</template>
</UDashboardToolbar>
<div v-if="runningTimeInfo.id" class="mt-3">
<div v-if="runningTimeInfo.id" class="m-3">
Start: {{dayjs(runningTimeInfo.start).format("DD.MM.YY HH:mm")}}
@@ -318,7 +319,6 @@ const setState = async (newState) => {
:disabled="configTimeMode === 'create' ? false : itemInfo.state !== 'Entwurf'"
/>
</UFormGroup>
{{itemInfo.state === 'Entwurf'}}{{itemInfo.state}}
<UFormGroup
label="Ende:"
>