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