Skip to content

Commit

Permalink
Merge pull request #7271 from nextcloud/fix/7269/followup-console-error
Browse files Browse the repository at this point in the history
Fix error message regarding parsedState.message being undefined
  • Loading branch information
kesselb authored Sep 20, 2022
2 parents ba95ccb + 390c7fa commit 80c51d8
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 @@ -202,7 +202,7 @@ export default {
this.lastDay = state.end ?? null
this.enableLastDay = !!this.lastDay
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 80c51d8

Please sign in to comment.