aboutsummaryrefslogtreecommitdiff
path: root/src/components/chat_new
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/chat_new')
-rw-r--r--src/components/chat_new/chat_new.js5
-rw-r--r--src/components/chat_new/chat_new.scss2
2 files changed, 3 insertions, 4 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)
})
- })
+ }
}
}
diff --git a/src/components/chat_new/chat_new.scss b/src/components/chat_new/chat_new.scss
index 39216677..11305444 100644
--- a/src/components/chat_new/chat_new.scss
+++ b/src/components/chat_new/chat_new.scss
@@ -15,7 +15,7 @@
}
.member-list {
- padding-bottom: 0.67rem;
+ padding-bottom: 0.7rem;
}
.basic-user-card:hover {