Remove unused parameter

This commit is contained in:
Tobias Johansson 2019-04-03 17:40:15 +02:00
parent 62af8c2cbf
commit 37e09c2943
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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() {