From 9cf834d478912103efd2a0303ad550af66a3949b 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 1aea2f1cb..b66da49d7 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; },