From 193a6b59425ab45004f4178fc3f5b5bad5b4c660 Mon Sep 17 00:00:00 2001
From: jdlugosz963 <jdlugosz963@gmail.com>
Date: Tue, 14 Dec 2021 06:22:57 +0100
Subject: make group searcher works

---
 src/components/Sugestion.vue | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

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

diff --git a/src/components/Sugestion.vue b/src/components/Sugestion.vue
index cfbcd93..4721ca2 100644
--- a/src/components/Sugestion.vue
+++ b/src/components/Sugestion.vue
@@ -1,14 +1,19 @@
 <template>
   <div class="sugestion">
-      <span>{{command.name}}</span>
+      <span>{{sugestion[0]}}</span>
   </div>
 </template>
 
 <script>
 export default {
     props: {
-        command: Function
-    }
+        sugestion: Array
+    },
+
+   created() {
+        this.$nextTick(function () {
+        })
+     }
 
 }
 </script>
@@ -24,4 +29,4 @@ export default {
         padding: 5px;
         padding-right: 0px;
     }
-</style>
\ No newline at end of file
+</style>
-- 
cgit v1.2.3

