diff --git a/chat-web-client/src/components/ChatLayout.vue b/chat-web-client/src/components/ChatLayout.vue index 820a03e..bc8af32 100644 --- a/chat-web-client/src/components/ChatLayout.vue +++ b/chat-web-client/src/components/ChatLayout.vue @@ -50,6 +50,7 @@ const loadHistory = async () => { // Cargar mensajes de un chat especĂ­fico const loadMessages = async (selectedChatId) => { if (!chatUuid.value) { + messages.value = [] return; } try {