forked from AkkomaGang/akkoma-fe
eslint fixes.
This commit is contained in:
parent
ccbfc64bfc
commit
bde1241843
2 changed files with 2 additions and 1 deletions
|
@ -49,7 +49,7 @@ const conversation = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
focused: function (id) {
|
focused: function (id) {
|
||||||
if (!!this.statusoid.retweeted_status) {
|
if (this.statusoid.retweeted_status) {
|
||||||
return (id === this.statusoid.retweeted_status.id)
|
return (id === this.statusoid.retweeted_status.id)
|
||||||
} else {
|
} else {
|
||||||
return (id === this.statusoid.id)
|
return (id === this.statusoid.id)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import { cloneDeep } from 'lodash'
|
import { cloneDeep } from 'lodash'
|
||||||
import { defaultState, mutations, findMaxId, prepareStatus, statusType } from '../../../../src/modules/statuses.js'
|
import { defaultState, mutations, findMaxId, prepareStatus, statusType } from '../../../../src/modules/statuses.js'
|
||||||
|
|
||||||
|
// eslint-disable-next-line camelcase
|
||||||
const makeMockStatus = ({id, text, is_post_verb = true}) => {
|
const makeMockStatus = ({id, text, is_post_verb = true}) => {
|
||||||
return {
|
return {
|
||||||
id,
|
id,
|
||||||
|
|
Loading…
Reference in a new issue