diff --git a/src/components/Entry.vue b/src/components/Entry.vue index 5a783fb..7476e5e 100644 --- a/src/components/Entry.vue +++ b/src/components/Entry.vue @@ -33,6 +33,12 @@ + @@ -41,6 +47,18 @@ name: "Entry", props: ['item'], + methods: { + debug() { + this.$emit('debug', this.item) + }, + like() { + this.$emit('like', this.item) + }, + repost() { + this.$emit('repost', this.item) + } + }, + computed: { classes() { return {'entry': true, 'card': true, 'unread': !this.item._is_read} diff --git a/src/components/Timeline.vue b/src/components/Timeline.vue index 67636ab..6ad9fa9 100644 --- a/src/components/Timeline.vue +++ b/src/components/Timeline.vue @@ -1,7 +1,7 @@