From af7bb3d66ab8484a32506581020758c8083b5d74 Mon Sep 17 00:00:00 2001
From: saschrad <saschrad@stud.ntnu.no>
Date: Thu, 5 May 2022 08:58:35 +0200
Subject: [PATCH] Removed console log and fixed bug

---
 src/components/ChatComponents/ChatComponent.vue | 3 ++-
 src/components/ChatComponents/ChatProfile.vue   | 5 +----
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/components/ChatComponents/ChatComponent.vue b/src/components/ChatComponents/ChatComponent.vue
index 6ddbaa3..ff6f25d 100644
--- a/src/components/ChatComponents/ChatComponent.vue
+++ b/src/components/ChatComponents/ChatComponent.vue
@@ -65,7 +65,7 @@ export default {
   props: {
     openHamburger: { type: Function },
     recipientID: {
-      type: Number,
+      type: String,
     },
   },
   data() {
@@ -74,6 +74,7 @@ export default {
       scrollBehavior: "",
       recipient: null,
       rents: [],
+      message: "",
       msgs: [],
     };
   },
diff --git a/src/components/ChatComponents/ChatProfile.vue b/src/components/ChatComponents/ChatProfile.vue
index 2b2ae77..bfed6d6 100644
--- a/src/components/ChatComponents/ChatProfile.vue
+++ b/src/components/ChatComponents/ChatProfile.vue
@@ -82,9 +82,6 @@ export default {
     selectUser() {
       this.$emit("recipient", this.conversation?.recipient.userId);
     },
-  },
-  created() {
-    console.log("convesation", this.conversation);
-  },
+  }
 };
 </script>
-- 
GitLab