From c45f20daafbe4a00e1daa989ae4028f1af22aa0d Mon Sep 17 00:00:00 2001
From: saschrad <saschrad@stud.ntnu.no>
Date: Fri, 6 May 2022 10:28:23 +0200
Subject: [PATCH] Changed name

---
 src/components/RentingComponents/NewRent.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/RentingComponents/NewRent.vue b/src/components/RentingComponents/NewRent.vue
index 7134d12..f0609f0 100644
--- a/src/components/RentingComponents/NewRent.vue
+++ b/src/components/RentingComponents/NewRent.vue
@@ -42,7 +42,7 @@
   </div>
   <div>
     <notification-modal
-      @click="routeToHome"
+      @click="routeToChat"
       :visible="confirmed"
       :title="'Vellykket'"
       :message="'Forespørsel sendt!'"
@@ -150,7 +150,7 @@ export default {
     cancelRent() {
       this.$router.go(0);
     },
-    routeToHome() {
+    routeToChat() {
       this.$router.push("/messages?userID=" + this.newRentBox.renterId);
     },
     sendRent: async function () {
-- 
GitLab