Skip to content
Snippets Groups Projects
Commit 0effef23 authored by lain's avatar lain
Browse files

Small cleanup.

parent dcd7d52e
No related branches found
No related tags found
No related merge requests found
import { filter, sortBy } from 'lodash'
import { find, filter, sortBy } from 'lodash'
import { statusType } from '../../modules/statuses.js'
import Status from '../status/status.vue'
......@@ -86,8 +86,7 @@ const conversation = {
if (id) {
this.preview.x = x
this.preview.y = y
this.preview.status = filter(this.conversation, { id: id })[0]
console.log(this.preview.status)
this.preview.status = find(this.conversation, { id: id })
} else {
this.preview.status = null
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment