mirror of
https://github.com/flarum/core.git
synced 2025-08-14 04:14:06 +02:00
provide vnode to onupdate where it was actually needed
This commit is contained in:
committed by
Franz Liedke
parent
f8bc58fd1a
commit
e0e3d6ecae
@@ -53,7 +53,7 @@ export default class CommentPost extends Post {
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
onupdate() {
|
onupdate(vnode) {
|
||||||
super.onupdate();
|
super.onupdate();
|
||||||
|
|
||||||
const contentHtml = this.isEditing() ? '' : this.attrs.post.contentHtml();
|
const contentHtml = this.isEditing() ? '' : this.attrs.post.contentHtml();
|
||||||
|
Reference in New Issue
Block a user