From 219995c34163d7b7fea8953bac24af75eac36393 Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 21 Sep 2018 20:12:24 +0200 Subject: [PATCH] Implemented search for users when adding a user to a list/namespace --- package-lock.json | 6 +++ package.json | 1 + src/components/sharing/user.vue | 95 ++++++++++++++++++++++++++++++--- 3 files changed, 94 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index fc5cc9e8..99bee0fa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15610,6 +15610,12 @@ "vue-style-loader": "^4.1.0" } }, + "vue-multiselect": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/vue-multiselect/-/vue-multiselect-2.1.0.tgz", + "integrity": "sha512-mEhApxZ6MUISGLuGDy0RF5UlAKUgG/Qq0DWYE/C+CA1h6ZszM3cHfpNFfFm2AMWLclY2SAWpY1HlQLjsw8WnvQ==", + "dev": true + }, "vue-notification": { "version": "1.3.13", "resolved": "https://registry.npmjs.org/vue-notification/-/vue-notification-1.3.13.tgz", diff --git a/package.json b/package.json index 9cdd2996..0bfd6ee4 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "npm": "^6.4.1", "sass-loader": "^7.1.0", "vue-flatpickr-component": "^7.0.6", + "vue-multiselect": "^2.1.0", "vue-notification": "^1.3.13", "vue-router": "^3.0.1", "vue-template-compiler": "^2.5.17" diff --git a/src/components/sharing/user.vue b/src/components/sharing/user.vue index c8c6a5c2..c96c3f46 100644 --- a/src/components/sharing/user.vue +++ b/src/components/sharing/user.vue @@ -9,14 +9,27 @@
-

- - - - +

+ + + + Oops! No users found. Consider changing the search query. +

-