1
0
mirror of https://git.pleroma.social/sjw/pleroma-fe.git synced 2024-11-11 08:59:04 +01:00

hopefully, fix linter

This commit is contained in:
Henry Jameson 2018-08-06 09:52:07 +03:00
parent 976444064f
commit d5efa10946

View File

@ -87,10 +87,10 @@ const PostStatusForm = {
return false return false
} }
return map(take(matchedEmoji, 5), ({shortcode, image_url, utf}, index) => ({ return map(take(matchedEmoji, 5), ({shortcode, image_url, utf}, index) => ({
// eslint-disable-next-line camelcase
screen_name: `:${shortcode}:`, screen_name: `:${shortcode}:`,
name: '', name: '',
utf: utf || '', utf: utf || '',
// eslint-disable-next-line camelcase
img: utf ? '' : this.$store.state.config.server + image_url, img: utf ? '' : this.$store.state.config.server + image_url,
highlighted: index === this.highlighted highlighted: index === this.highlighted
})) }))