mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-01 15:29:19 +03:00
Fixed launch wizard preview not showing plans after connecting Stripe
refs https://github.com/TryGhost/Team/issues/460 - after connecting Stripe we were showing the "set pricing" step with the portal preview but the portal preview did not reflect Stripe having been connected - the problem arose because we were triggering the portal preview without refreshing the preview in the iframe, meaning the portal preview only had access to the "before stripe" state - forcing a refresh after successfully connecting Stripe ensures portal is loaded with all the necessary state
This commit is contained in:
parent
916c12546f
commit
054b82f822
@ -137,6 +137,7 @@ export default class GhLaunchWizardConnectStripeComponent extends Component {
|
||||
|
||||
@task
|
||||
*pauseAndContinueTask() {
|
||||
this.args.refreshPreview();
|
||||
yield timeout(500);
|
||||
this.args.nextStep();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user