fix type errors of MkAutoComplete
This commit is contained in:
parent
6ac6a4cfa9
commit
73537ec6fa
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@
|
|||
<span v-else class="emoji">{{ emoji.emoji }}</span>
|
||||
<span
|
||||
class="name"
|
||||
v-html="emoji.name.replace(q, `<b>${q}</b>`)"
|
||||
v-html="q ? emoji.name.replace(q, `<b>${q}</b>`) : emoji.name"
|
||||
></span>
|
||||
<span v-if="emoji.aliasOf" class="alias"
|
||||
>({{ emoji.aliasOf }})</span
|
||||
|
@ -107,7 +107,7 @@ interface EmojiDef {
|
|||
emoji: string;
|
||||
name: string;
|
||||
aliasOf?: string;
|
||||
url?: string;
|
||||
url: string;
|
||||
isCustomEmoji?: boolean;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue