Skip to content

Commit

Permalink
Adding a site-topic step to the subdomain flow, so that it can fulfil…
Browse files Browse the repository at this point in the history
…l the vertical query dependency
  • Loading branch information
niranjan-uma-shankar committed Feb 11, 2019
1 parent 5870383 commit 778ce08
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion client/signup/config/flows-pure.js
Expand Up @@ -94,7 +94,7 @@ export function generateFlows( { getSiteDestination = noop, getPostsDestination
},

subdomain: {
steps: [ 'design-type', 'themes', 'domains-subdomain', 'plans', 'user' ],
steps: [ 'design-type', 'themes', 'site-topic', 'domains', 'plans', 'user' ],
destination: getSiteDestination,
description: 'Provide a vertical for subdomains',
lastModified: '2016-10-31',
Expand Down
12 changes: 0 additions & 12 deletions client/signup/config/steps-pure.js
Expand Up @@ -201,18 +201,6 @@ export function generateSteps( {
delayApiRequestUntilComplete: true,
},

'domains-subdomain': {
stepName: 'domains',
apiRequestFunction: createSiteWithCart,
fulfilledStepCallback: isSiteTopicFulfilled,
providesDependencies: [ 'siteId', 'siteSlug', 'domainItem', 'themeItem' ],
props: {
isDomainOnly: false,
},
dependencies: [ 'themeSlugWithRepo' ],
delayApiRequestUntilComplete: true,
},

'domain-only': {
stepName: 'domain-only',
providesDependencies: [ 'siteId', 'siteSlug', 'domainItem' ],
Expand Down

0 comments on commit 778ce08

Please sign in to comment.