diff --git a/src/client/app/admin/views/users.vue b/src/client/app/admin/views/users.vue index f2306c26f2..a9544f81e2 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 e3b7551c29..a960c3a3c4 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() {