- custom route for PlanPricingTables.vue

- removed passport error in signin form
This commit is contained in:
Peter Papp
2021-03-24 11:38:15 +01:00
parent ffe6de5b98
commit f2c44c3cfe
4 changed files with 11 additions and 13 deletions
@@ -39,6 +39,9 @@
HardDriveIcon,
ButtonBase,
},
props: [
'customRoute'
],
data() {
return {
plans: undefined,
@@ -50,7 +53,10 @@
methods: {
selectPlan(plan) {
this.$emit('selected-plan', plan)
this.$router.push({name: 'UpgradeBilling'})
let route = this.customRoute ? this.customRoute : 'UpgradeBilling'
this.$router.push({name: route})
}
},
created() {