Skip to content

Commit 5f8ddb8

Browse files
committed
fix: issue with title of thread changing when editing first post in thread
1 parent ce7d2e8 commit 5f8ddb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/layout/Editor.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -363,9 +363,9 @@ export default {
363363
364364
watch(() => props.post, p => {
365365
if (p) {
366-
p.title = 'RE:' + props.thread.title
367-
nextTick(() => v.posting.post = p)
368366
if (p.body.length) v.editMode = true
367+
if (p.position !== 1) p.title = 'RE:' + props.thread.title
368+
nextTick(() => v.posting.post = p)
369369
}
370370
})
371371

0 commit comments

Comments
 (0)