Skip to content

Commit

Permalink
Fix error message regarding parsedState.message being undefined
Browse files Browse the repository at this point in the history
Followup to #7269

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
  • Loading branch information
st3iny committed Sep 13, 2022
1 parent a024490 commit 390c7fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/OutOfOfficeForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 390c7fa

Please sign in to comment.