diff --git a/src/client/app/common/views/components/autocomplete.vue b/src/client/app/common/views/components/autocomplete.vue index 1aea2f1cb4..b66da49d7f 100644 --- a/src/client/app/common/views/components/autocomplete.vue +++ b/src/client/app/common/views/components/autocomplete.vue @@ -19,7 +19,7 @@ {{ emoji.emoji }} - {{ beforeQ }}{{ q }}{{ afterQ }} + ({{ emoji.aliasOf }}) @@ -89,14 +89,6 @@ export default Vue.extend({ }, computed: { - beforeQ(): string { - return this.emoji.name.split(this.q)[0]; - }, - - afterQ(): string { - return this.emoji.name.split(this.q)[1] || ''; - }, - items(): HTMLCollection { return (this.$refs.suggests as Element).children; },