Use the right url when on a cited entry

This commit is contained in:
Peter Stuifzand 2018-09-03 20:09:22 +02:00
parent 750452bd4e
commit ae47582c08

View File

@ -97,7 +97,7 @@
this.$store.dispatch('micropubPost', { this.$store.dispatch('micropubPost', {
'type': ['h-entry'], 'type': ['h-entry'],
'properties': { 'properties': {
'in-reply-to': [this.item.url], 'in-reply-to': [this.currentItem.url],
'content': [this.replyText] 'content': [this.replyText]
}, },
}).then(() => { }).then(() => {
@ -109,7 +109,7 @@
this.$store.dispatch('micropubPost', { this.$store.dispatch('micropubPost', {
'type': ['h-entry'], 'type': ['h-entry'],
'properties': { 'properties': {
'like-of': [this.item.url] 'like-of': [this.currentItem.url]
}, },
}) })
}, },
@ -117,7 +117,7 @@
this.$store.dispatch('micropubPost', { this.$store.dispatch('micropubPost', {
'type': ['h-entry'], 'type': ['h-entry'],
'properties': { 'properties': {
'repost-of': [this.item.url] 'repost-of': [this.currentItem.url]
}, },
}) })
}, },