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