From 390c7fa9b541f38625aff96d4bc4099d059f2e6f Mon Sep 17 00:00:00 2001 From: Richard Steinmetz Date: Tue, 13 Sep 2022 12:25:06 +0200 Subject: [PATCH] Fix error message regarding parsedState.message being undefined Followup to #7269 Signed-off-by: Richard Steinmetz --- src/components/OutOfOfficeForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/OutOfOfficeForm.vue b/src/components/OutOfOfficeForm.vue index 3647fa07e1..9b1a2893c7 100644 --- a/src/components/OutOfOfficeForm.vue +++ b/src/components/OutOfOfficeForm.vue @@ -201,7 +201,7 @@ export default { this.firstDay = state.start ?? new Date() this.lastDay = state.end ?? null this.subject = state.subject ?? '' - this.message = toHtml(plain(state.message)).value ?? '' + this.message = toHtml(plain(state.message ?? '')).value }, }, enableLastDay(enableLastDay) {