diff options
Diffstat (limited to 'src/components/chat_new/chat_new.js')
| -rw-r--r-- | src/components/chat_new/chat_new.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/chat_new/chat_new.js b/src/components/chat_new/chat_new.js index 0da681f7..d023efc0 100644 --- a/src/components/chat_new/chat_new.js +++ b/src/components/chat_new/chat_new.js @@ -1,4 +1,3 @@ -import { throttle } from 'lodash' import { mapState, mapGetters } from 'vuex' import BasicUserCard from '../basic_user_card/basic_user_card.vue' import UserAvatar from '../user_avatar/user_avatar.vue' @@ -54,7 +53,7 @@ const chatNew = { removeUser (userId) { this.selectedUserIds = this.selectedUserIds.filter(id => id !== userId) }, - search: throttle(function (query) { + search (query) { if (!query) { this.loading = false return @@ -67,7 +66,7 @@ const chatNew = { this.loading = false this.userIds = data.accounts.map(a => a.id) }) - }) + } } } |
