|
|
@ -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
|
|
|
|
}))
|
|
|
|
}))
|
|
|
|