aboutsummaryrefslogtreecommitdiff
path: root/src/components/conversation/conversation.js
diff options
context:
space:
mode:
authorlambda <pleromagit@rogerbraun.net>2017-11-13 18:17:34 +0000
committerlambda <pleromagit@rogerbraun.net>2017-11-13 18:17:34 +0000
commit024b9ca724c90f8ab9ed573a553349e4002b7b95 (patch)
tree991c6ec3665f4ceea4c3cfc772bd5daa26a31242 /src/components/conversation/conversation.js
parent8fdedb4c79e4f569b89496ad323d5d69bd39625a (diff)
parentab1d1b3dd0f2ea1c44f4ae7a5f08c52d7ea8520c (diff)
Merge branch 'feature/in-reply-to-preview-on-timeline' into 'develop'
In-reply-to previews for posts on timeline See merge request pleroma/pleroma-fe!157
Diffstat (limited to 'src/components/conversation/conversation.js')
-rw-r--r--src/components/conversation/conversation.js18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/components/conversation/conversation.js b/src/components/conversation/conversation.js
index 89fcfddb..9d9f7bbe 100644
--- a/src/components/conversation/conversation.js
+++ b/src/components/conversation/conversation.js
@@ -1,4 +1,4 @@
-import { reduce, find, filter, sortBy } from 'lodash'
+import { reduce, filter, sortBy } from 'lodash'
import { statusType } from '../../modules/statuses.js'
import Status from '../status/status.vue'
@@ -10,12 +10,7 @@ const sortAndFilterConversation = (conversation) => {
const conversation = {
data () {
return {
- highlight: null,
- preview: {
- x: 0,
- y: 0,
- status: null
- }
+ highlight: null
}
},
props: [
@@ -86,15 +81,6 @@ const conversation = {
},
setHighlight (id) {
this.highlight = Number(id)
- },
- setPreview (id, x, y) {
- if (id) {
- this.preview.x = x
- this.preview.y = y
- this.preview.status = find(this.conversation, { id: id })
- } else {
- this.preview.status = null
- }
}
}
}