From 802739a2df8f87938e1b751f9fa6555aa3cc7c85 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 10 Jun 2019 23:09:36 +0900 Subject: [PATCH] Fix bug --- .../app/common/views/components/autocomplete.vue | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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; },