Browse Source

Better redirect

pull/95/head
Sebastian Stehle 9 years ago
parent
commit
21349ad438
  1. 2
      src/Squidex/app/features/settings/pages/plans/plans-page.component.ts

2
src/Squidex/app/features/settings/pages/plans/plans-page.component.ts

@ -68,7 +68,7 @@ export class PlansPageComponent extends AppComponentBase implements OnInit {
.switchMap(app => this.plansService.putPlan(app, new ChangePlanDto(planId), this.version))
.subscribe(dto => {
if (dto.redirectUri && dto.redirectUri.length > 0) {
window.location.replace(dto.redirectUri);
window.location.href = dto.redirectUri;
} else {
this.plans =
new AppPlansDto(planId,

Loading…
Cancel
Save