logs-content: Enabled altering of history (added edit options for log posts)
This commit is contained in:
@@ -70,6 +70,10 @@ module.exports = class {
|
||||
})
|
||||
}
|
||||
|
||||
postEdited(post) {
|
||||
this.patch([post])
|
||||
}
|
||||
|
||||
get title() {
|
||||
if (this.state.log.title) {
|
||||
return this.state.log.title
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
key=post.id
|
||||
on-move("movePost", post)
|
||||
on-remove("removePost", post)
|
||||
on-edited("postEdited")
|
||||
post=post
|
||||
characters=state.log.characters
|
||||
last=(post.position === state.log.posts.length)
|
||||
|
||||
Reference in New Issue
Block a user