diff --git a/client/components/ChatUserList.vue b/client/components/ChatUserList.vue index 890b83fc..3dea252c 100644 --- a/client/components/ChatUserList.vue +++ b/client/components/ChatUserList.vue @@ -81,6 +81,10 @@ export default { // filteredUsers is computed, to avoid unnecessary filtering // as it is shared between filtering and keybindings. filteredUsers() { + if (!this.userSearchInput) { + return; + } + return fuzzyFilter(this.userSearchInput, this.channel.users, { pre: "", post: "",