Refactor & Clean up
This commit is contained in:
@ -27,7 +27,7 @@ export default Vue.extend({
|
||||
},
|
||||
methods: {
|
||||
react(reaction: string) {
|
||||
(this as any).api('notes/reactions/create', {
|
||||
this.$root.api('notes/reactions/create', {
|
||||
noteId: this.note.id,
|
||||
reaction: reaction
|
||||
});
|
||||
|
Reference in New Issue
Block a user