Skip to content
Snippets Groups Projects
Commit 8d7d1793 authored by Sander August Heggland Schrader's avatar Sander August Heggland Schrader
Browse files

Added redirect

parent 3207eed3
No related branches found
No related tags found
1 merge request!145Added redirect
Pipeline #182008 passed with stage
in 1 minute and 12 seconds
......@@ -161,6 +161,7 @@ export default {
this.pushItem.toTime = this.rentingEndDate;
this.pushItem.title = this.item.title;
this.pushItem.price = this.totPrice;
this.pushItem.renterId = this.item.userID;
},
async getItem() {
let id = this.$router.currentRoute.value.params.id;
......
......@@ -151,7 +151,7 @@ export default {
this.$router.go(0);
},
routeToHome() {
this.$router.push("/");
this.$router.push("/messages?userID=" + this.newRentBox.renterId);
},
sendRent: async function () {
const rent = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment