From 259fa58268ffc5f171c7c6da18241ce9f7b3ac70 Mon Sep 17 00:00:00 2001 From: Jean Schmitz Date: Thu, 23 Nov 2023 11:25:47 +0100 Subject: [PATCH] Refactoring of AssistantElement.vue --- .../components/choice/AssistantElement.vue | 98 ++++++++++++------- 1 file changed, 64 insertions(+), 34 deletions(-) diff --git a/frontend/src/components/choice/AssistantElement.vue b/frontend/src/components/choice/AssistantElement.vue index 80e6f9be..21274c6a 100644 --- a/frontend/src/components/choice/AssistantElement.vue +++ b/frontend/src/components/choice/AssistantElement.vue @@ -18,11 +18,10 @@ import {useChatStore} from '@/store/chat-store'; import Assistant from '@/store/to/assistant'; -import PersonaCompactInfo from '@/components/persona/PersonaCompactInfo.vue'; export default { name: 'AssistantElement', - components: {PersonaCompactInfo}, + components: {}, setup() { const store = useChatStore(); // Call useMyStore() inside the setup function return {store}; @@ -55,51 +54,82 @@ export default {