Skip to content

Commit

Permalink
fix: issue with title of thread changing when editing first post in t…
Browse files Browse the repository at this point in the history
…hread
  • Loading branch information
akinsey committed Nov 17, 2021
1 parent ce7d2e8 commit 5f8ddb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/layout/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,9 @@ export default {
watch(() => props.post, p => {
if (p) {
p.title = 'RE:' + props.thread.title
nextTick(() => v.posting.post = p)
if (p.body.length) v.editMode = true
if (p.position !== 1) p.title = 'RE:' + props.thread.title
nextTick(() => v.posting.post = p)
}
})
Expand Down

0 comments on commit 5f8ddb8

Please sign in to comment.