From 98bec5686da0c4b7d0279b94968040b01e3218fa Mon Sep 17 00:00:00 2001
From: jdlugosz963 <jdlugosz963@gmail.com>
Date: Mon, 13 Dec 2021 15:21:21 +0100
Subject: add group searcher dont work for now

---
 src/components/GroupMaker.vue | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

(limited to 'src/components/GroupMaker.vue')

diff --git a/src/components/GroupMaker.vue b/src/components/GroupMaker.vue
index 59f83fd..f3da293 100644
--- a/src/components/GroupMaker.vue
+++ b/src/components/GroupMaker.vue
@@ -49,11 +49,15 @@ export default {
           "users": this.users_selection
         })
 
-        if(status === 201)
+        if(status === 201) {
           this.$notify({
             type: "success",
             text: "Group created!"
           })
+
+          this.close()
+        }
+
       },
 
     async set_users() {
@@ -77,3 +81,19 @@ export default {
   }
 }
 </script>
+
+<style scoped>
+
+.group_maker {
+    position: absolute;
+    width: 30%;
+    height: 80%;
+    top: 50%;
+    left: 50%;
+    background-color: #202020;
+    padding: 20px;
+    border-radius: 10px;
+    transform: translate(-50%, -50%);
+  }
+
+</style>
-- 
cgit v1.2.3

