Fixed formatting

This commit is contained in:
Constantin Graf
2026-08-31 12:07:08 +02:00
committed by Gregor Vostrak
parent 693a1fa7e0
commit e6f071f87f
2 changed files with 2 additions and 6 deletions

View File

@@ -24,8 +24,7 @@ watch(
user,
(currentUser, previousUser) => {
if (currentUser && previousUser === undefined) {
sendTimeEntryStillRunningEmail.value =
currentUser.send_time_entry_still_running_email;
sendTimeEntryStillRunningEmail.value = currentUser.send_time_entry_still_running_email;
}
},
{ immediate: true }
@@ -40,9 +39,7 @@ const fieldErrors = computed<Record<string, string>>(() =>
async function save() {
if (isSaveDisabled.value || !user.value) return;
if (
sendTimeEntryStillRunningEmail.value === user.value.send_time_entry_still_running_email
) {
if (sendTimeEntryStillRunningEmail.value === user.value.send_time_entry_still_running_email) {
flashSaved();
return;
}

View File

@@ -330,7 +330,6 @@ const page = usePage<{
</select>
<FieldError v-if="fieldErrors.week_start">{{ fieldErrors.week_start }}</FieldError>
</Field>
</template>
<template #actions>