Skip to content

Commit

Permalink
quayio: Redirect user to billing page when starting free trial (PROJQ…
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathankingfc authored Jul 8, 2022
1 parent 04af141 commit b49fd45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion static/js/services/plan-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ function(KeyService, UserService, CookieService, ApiService, Features, Config, $
if (planService.isOrgCompatible(plan)) {
$location.path('/organizations/new').search('plan', planId);
} else {
$location.path('/user').search('plan', planId);
const username = UserService.currentUser().username;
$location.path(`/user/${username}/billing`);
}
});
});
Expand Down

0 comments on commit b49fd45

Please sign in to comment.