log-contents: Added remove log form.
This commit is contained in:
@@ -7,6 +7,7 @@ module.exports = class {
|
||||
this.state = {
|
||||
log: input.log,
|
||||
modal: null,
|
||||
removed: false,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -92,6 +93,10 @@ module.exports = class {
|
||||
this.state.log = Object.assign({}, this.state.log)
|
||||
}
|
||||
|
||||
logRemoved() {
|
||||
this.state.removed = true
|
||||
}
|
||||
|
||||
get title() {
|
||||
if (this.state.log.title) {
|
||||
return this.state.log.title
|
||||
|
||||
Reference in New Issue
Block a user