Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Steinmetz <richard@steinmetz.cloud>2022-09-13 14:50:44 +0300
committerRichard Steinmetz <richard@steinmetz.cloud>2022-09-13 14:50:44 +0300
commitcb2e94d17b7532a3b60901065fa419533a1156b0 (patch)
tree8013e220f6953f20f86c31eb2c845643df4d6a68
parenta02449007dd5723c5c3414c3f69a4a1f4811552e (diff)
Fix enable last day checkbox not being parsed correctly
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
-rw-r--r--src/components/OutOfOfficeForm.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/OutOfOfficeForm.vue b/src/components/OutOfOfficeForm.vue
index 3647fa07e..86a58d841 100644
--- a/src/components/OutOfOfficeForm.vue
+++ b/src/components/OutOfOfficeForm.vue
@@ -200,6 +200,7 @@ export default {
this.enabled = !!state.enabled ?? false
this.firstDay = state.start ?? new Date()
this.lastDay = state.end ?? null
+ this.enableLastDay = !!this.lastDay
this.subject = state.subject ?? ''
this.message = toHtml(plain(state.message)).value ?? ''
},