diff options
Diffstat (limited to 'demo/components/like-button.js')
-rw-r--r-- | demo/components/like-button.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demo/components/like-button.js b/demo/components/like-button.js index 5c9b1a5..6f65ac6 100644 --- a/demo/components/like-button.js +++ b/demo/components/like-button.js @@ -1,6 +1,6 @@ export default { - props: ['messageID'], + props: ['messageID', 'parent'], methods: { likeObjects(objects, messageID=this.messageID) { @@ -20,7 +20,7 @@ export default { this.$graffitiUpdate({ like: this.messageID, timestamp: Date.now(), - _tags: [this.messageID] + _tags: [this.messageID, this.parent] }) } } |