From 7ae0e73aec282b48f263c8bf9f6d6e8475793fbd Mon Sep 17 00:00:00 2001
From: Cristiano Magro <cristiano.magro@vola.it>
Date: Mon, 30 Dec 2024 20:43:23 +0100
Subject: [PATCH] check comportamento injection con cambiamento delle struttura dati

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

diff --git a/08 - component communication/cmp-communication-08-a-potential-problem-starting-setup/src/App.vue b/08 - component communication/cmp-communication-08-a-potential-problem-starting-setup/src/App.vue
index 6b93aab..b993cb0 100644
--- a/08 - component communication/cmp-communication-08-a-potential-problem-starting-setup/src/App.vue
+++ b/08 - component communication/cmp-communication-08-a-potential-problem-starting-setup/src/App.vue
@@ -42,6 +42,17 @@
       this.activeTopic = this.topics.find((topic) => topic.id === topicId);
     },
   },
+  mounted(){
+    setTimeout(() => {
+      this.topics.push({
+          id: 'events',
+          title: 'Events',
+          description: 'Vieni all\'evento',
+          fullText:
+            'Gli eventi ti permettono di triggherare il codice on demand',
+        });
+    }, 3000);
+  }
 };
 </script>
 

--
Gitblit v1.8.0