forked from AkkomaGang/akkoma-fe
Small cleanup.
This commit is contained in:
parent
dcd7d52eb5
commit
0effef236a
1 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
import { filter, sortBy } from 'lodash'
|
import { find, filter, sortBy } from 'lodash'
|
||||||
import { statusType } from '../../modules/statuses.js'
|
import { statusType } from '../../modules/statuses.js'
|
||||||
import Status from '../status/status.vue'
|
import Status from '../status/status.vue'
|
||||||
|
|
||||||
|
@ -86,8 +86,7 @@ const conversation = {
|
||||||
if (id) {
|
if (id) {
|
||||||
this.preview.x = x
|
this.preview.x = x
|
||||||
this.preview.y = y
|
this.preview.y = y
|
||||||
this.preview.status = filter(this.conversation, { id: id })[0]
|
this.preview.status = find(this.conversation, { id: id })
|
||||||
console.log(this.preview.status)
|
|
||||||
} else {
|
} else {
|
||||||
this.preview.status = null
|
this.preview.status = null
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue