diff --git a/src/client/app/admin/views/users.vue b/src/client/app/admin/views/users.vue index f2306c26f..a9544f81e 100644 --- a/src/client/app/admin/views/users.vue +++ b/src/client/app/admin/views/users.vue @@ -3,7 +3,7 @@
{{ $t('operation') }}
- + {{ $t('username-or-userid') }} {{ $t('lookup') }} diff --git a/src/client/app/common/views/components/ui/input.vue b/src/client/app/common/views/components/ui/input.vue index e3b7551c2..a960c3a3c 100644 --- a/src/client/app/common/views/components/ui/input.vue +++ b/src/client/app/common/views/components/ui/input.vue @@ -184,6 +184,12 @@ export default Vue.extend({ } } }); + + this.$on('keydown', (e: KeyboardEvent) => { + if (e.code == 'Enter') { + this.$emit('enter'); + } + }); }, methods: { focus() {