diff --git a/geografia-vue/src/assets/demo_messages.json b/geografia-vue/src/assets/demo_messages.json
index 804c1b6..83b37a8 100644
--- a/geografia-vue/src/assets/demo_messages.json
+++ b/geografia-vue/src/assets/demo_messages.json
@@ -2,63 +2,45 @@
"history": [
{
"id": 1,
- "picture": "../assets/cat_skate.png",
- "name": "test-name1",
- "last_message": "🐱⛸️➡️?",
+ "text": "🐱⛸️➡️?",
+ "is_user": false,
"seen": false,
- "date": "25/08/22",
- "new_messages": 1,
- "is_user": false
+ "date": "22/09 12:12"
},
{
"id": 2,
- "picture": "../assets/cat_skate.png",
- "name": "test-name2",
- "last_message": "🐱⛸️➡️?",
- "seen": false,
- "date": "25/08/22",
- "new_messages": 1,
- "is_user": true
+ "text": "🐱⛸️➡️?",
+ "is_user": true,
+ "seen": true,
+ "date": "22/09 12:12"
},
{
"id": 3,
- "picture": "../assets/cat_skate.png",
- "name": "test-name3",
- "last_message": "🐱⛸️➡️?",
- "seen": false,
- "date": "25/08/22",
- "new_messages": 1,
- "is_user": false
+ "text": "🐱⛸️➡️?",
+ "is_user": false,
+ "seen": true,
+ "date": "22/09 12:12"
},
{
"id": 4,
- "picture": "../assets/cat_skate.png",
- "name": "test-name4",
- "last_message": "🐱⛸️➡️?",
- "seen": false,
- "date": "25/08/22",
- "new_messages": 1,
- "is_user": true
+ "text": "🐱⛸️➡️?",
+ "is_user": true,
+ "seen": true,
+ "date": "22/09 12:12"
},
{
"id": 5,
- "picture": "../assets/cat_skate.png",
- "name": "test-name5",
- "last_message": "🐱⛸️➡️?",
+ "text": "🐱⛸️➡️?",
+ "is_user": false,
"seen": false,
- "date": "25/08/22",
- "new_messages": 1,
- "is_user": false
+ "date": "22/09 12:12"
},
{
"id": 6,
- "picture": "../assets/cat_skate.png",
- "name": "test-name6",
- "last_message": "🐱⛸️➡️?",
- "seen": false,
- "date": "25/08/22",
- "new_messages": 1,
- "is_user": true
+ "text": "🐱⛸️➡️?",
+ "is_user": true,
+ "seen": true,
+ "date": "22/09 12:12"
}
]
}
diff --git a/geografia-vue/src/components/ChatList.vue b/geografia-vue/src/components/ChatList.vue
index 7b436a9..630901a 100644
--- a/geografia-vue/src/components/ChatList.vue
+++ b/geografia-vue/src/components/ChatList.vue
@@ -1,7 +1,7 @@
@@ -17,7 +17,7 @@ import ChatView from "./ChatView.vue";
:chat-new-messages="chat.new_messages"
@click="showChat(chat)"
/>
- I'm writing hereee
{{ messageText }}
+