We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31b1d29 commit 39a48feCopy full SHA for 39a48fe
src/components/layout/Editor.vue
@@ -272,7 +272,7 @@ export default {
272
if (v.editMode || v.quoteMode) return
273
let rawText = v.posting.post.body || v.threadCopy.body || v.newMessage.content.body
274
v.draftTimeout = setTimeout(() => saveDraft(), 10000)
275
- if (clear || rawText.length && v.oldDraft !== rawText) {
+ if (clear || rawText?.length && v.oldDraft !== rawText) {
276
let draftPromise
277
if (props.postEditorMode || props.threadEditorMode) {
278
draftPromise = postsApi.updatePostDraft
0 commit comments