diff options
author | Anthony Wang | 2023-02-05 16:23:21 -0500 |
---|---|---|
committer | Anthony Wang | 2023-02-05 16:23:21 -0500 |
commit | 53b54eb076246ffeb6c5c4e8b52a643696195333 (patch) | |
tree | 89315a4a19e43d787c86078c18d658c125ade9cb /demo/components/like-button.js | |
parent | c11da4dd7e082fd54562c3676dc27f4a0e8e3048 (diff) |
Implement recursive commenting and sorting by number of likes
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] }) } } |