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 v-else class="emoji">{{ emoji.emoji }}</span>
|
||||||
<span
|
<span
|
||||||
class="name"
|
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>
|
||||||
<span v-if="emoji.aliasOf" class="alias"
|
<span v-if="emoji.aliasOf" class="alias"
|
||||||
>({{ emoji.aliasOf }})</span
|
>({{ emoji.aliasOf }})</span
|
||||||
|
@ -107,7 +107,7 @@ interface EmojiDef {
|
||||||
emoji: string;
|
emoji: string;
|
||||||
name: string;
|
name: string;
|
||||||
aliasOf?: string;
|
aliasOf?: string;
|
||||||
url?: string;
|
url: string;
|
||||||
isCustomEmoji?: boolean;
|
isCustomEmoji?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue