Remove unused parameter
This commit is contained in:
parent
62af8c2cbf
commit
37e09c2943
@ -158,7 +158,7 @@ Vue.component('comment', {
|
||||
},
|
||||
cancleEdit() {
|
||||
this.doHideEditors();
|
||||
EventBus.$emit(Events.EDIT_DONE, this.comment.id );
|
||||
EventBus.$emit(Events.EDIT_DONE);
|
||||
},
|
||||
doHideEditors() {
|
||||
this.isReplying = false;
|
||||
|
@ -204,7 +204,7 @@ Vue.component('comment-editor', {
|
||||
.fail((err) => {toastr.error(pillar.utils.messageFromError(err), 'Failed to submit comment')})
|
||||
)
|
||||
.then(() => {
|
||||
EventBus.$emit(Events.EDIT_DONE, this.comment._id);
|
||||
EventBus.$emit(Events.EDIT_DONE);
|
||||
});
|
||||
},
|
||||
thenSubmit() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user