eslint fixes.

This commit is contained in:
Roger Braun 2017-03-08 17:58:49 +01:00
parent ccbfc64bfc
commit bde1241843
2 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,7 @@ const conversation = {
}
},
focused: function (id) {
if (!!this.statusoid.retweeted_status) {
if (this.statusoid.retweeted_status) {
return (id === this.statusoid.retweeted_status.id)
} else {
return (id === this.statusoid.id)

View File

@ -1,6 +1,7 @@
import { cloneDeep } from 'lodash'
import { defaultState, mutations, findMaxId, prepareStatus, statusType } from '../../../../src/modules/statuses.js'
// eslint-disable-next-line camelcase
const makeMockStatus = ({id, text, is_post_verb = true}) => {
return {
id,