mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 13:43: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': {
|
case 'emoji': {
|
||||||
const { emoji, name } = token;
|
|
||||||
const { customEmojis } = this;
|
|
||||||
return [createElement('mk-emoji', {
|
return [createElement('mk-emoji', {
|
||||||
attrs: { emoji, name },
|
attrs: {
|
||||||
props: { customEmojis }
|
emoji: token.emoji,
|
||||||
|
name: token.name
|
||||||
|
},
|
||||||
|
props: {
|
||||||
|
customEmojis: this.customEmojis
|
||||||
|
}
|
||||||
})];
|
})];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue