web/satellite: Add router-view back to old billing page
When implementing the new billing screen, we mistakenly removed the router-view component from the old billing screen. There was also an issue where the button would add an extra /billing in the path, so this change modifies the way the router navigates to the add-coupon route. Change-Id: Iad3e9aea8c91dbf3bb13022e0995b24ade26af0d
This commit is contained in:
parent
ed2ee8443f
commit
75544aa435
@ -34,7 +34,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="account-billing-area__divider" />
|
<div class="account-billing-area__divider" />
|
||||||
<router-view />
|
|
||||||
</div>
|
</div>
|
||||||
<div v-if="!isNewBillingScreen">
|
<div v-if="!isNewBillingScreen">
|
||||||
<div v-if="hasNoCreditCard" class="account-billing-area__notification-container">
|
<div v-if="hasNoCreditCard" class="account-billing-area__notification-container">
|
||||||
@ -84,6 +83,7 @@
|
|||||||
<SmallDepositHistory />
|
<SmallDepositHistory />
|
||||||
<CouponArea />
|
<CouponArea />
|
||||||
</div>
|
</div>
|
||||||
|
<router-view />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@ export default class CouponArea extends Vue {
|
|||||||
*/
|
*/
|
||||||
public onCreateClick(): void {
|
public onCreateClick(): void {
|
||||||
this.analytics.pageVisit(RouteConfig.Billing.with(RouteConfig.AddCouponCode).path);
|
this.analytics.pageVisit(RouteConfig.Billing.with(RouteConfig.AddCouponCode).path);
|
||||||
this.$router.push(RouteConfig.Billing.with(RouteConfig.AddCouponCode).path);
|
this.$router.push({ name: RouteConfig.AddCouponCode.name })
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user