mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 05:33:08 +02:00
Improve readdability
This commit is contained in:
parent
e542dcac30
commit
3fc04fcdc5
1 changed files with 7 additions and 4 deletions
|
@ -187,11 +187,14 @@ export default Vue.component('misskey-flavored-markdown', {
|
|||
}
|
||||
|
||||
case 'emoji': {
|
||||
const { emoji, name } = token;
|
||||
const { customEmojis } = this;
|
||||
return [createElement('mk-emoji', {
|
||||
attrs: { emoji, name },
|
||||
props: { customEmojis }
|
||||
attrs: {
|
||||
emoji: token.emoji,
|
||||
name: token.name
|
||||
},
|
||||
props: {
|
||||
customEmojis: this.customEmojis
|
||||
}
|
||||
})];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue