From 501f0d04371ebcdd9d9401d9e5b911b75f22ddef Mon Sep 17 00:00:00 2001
From: Cristiano Magro <cristiano.magro@vola.it>
Date: Mon, 30 Dec 2024 21:02:42 +0100
Subject: [PATCH] inject metodo al posto di usare emits per propagare un evento

---
 08 - component communication/cmp-communication-08-a-potential-problem-starting-setup/src/components/KnowledgeGrid.vue |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/08 - component communication/cmp-communication-08-a-potential-problem-starting-setup/src/components/KnowledgeGrid.vue b/08 - component communication/cmp-communication-08-a-potential-problem-starting-setup/src/components/KnowledgeGrid.vue
index d2f423c..21dd630 100644
--- a/08 - component communication/cmp-communication-08-a-potential-problem-starting-setup/src/components/KnowledgeGrid.vue
+++ b/08 - component communication/cmp-communication-08-a-potential-problem-starting-setup/src/components/KnowledgeGrid.vue
@@ -6,7 +6,6 @@
       :id="topic.id"
       :topic-name="topic.title"
       :description="topic.description"
-      @select-topic="$emit('select-topic', $event)"
     ></knowledge-element>
   </ul>
 </template>
@@ -14,6 +13,5 @@
 <script>
 export default {
   inject: ['topics'],
-  emits: ['select-topic']
 };
 </script>
\ No newline at end of file

--
Gitblit v1.8.0