Skip to content

Commit f3820b0

Browse files
authored
Showing multiple domain selection on new-hosted-site flow (#103359)
1 parent 3045ab7 commit f3820b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/signup/steps/domains/utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { EXAMPLE_FLOW } from '@automattic/onboarding';
1+
import { EXAMPLE_FLOW, NEW_HOSTED_SITE_FLOW } from '@automattic/onboarding';
22
import validUrl from 'valid-url';
33

44
// Only override the back button from an external URL source on the below step(s) which is typically where we'd send them to as the 'entry'.
@@ -34,7 +34,7 @@ export function getExternalBackUrl( source, sectionName = null ) {
3434
* Check if we should use multiple domains in domain flows.
3535
*/
3636
export function shouldUseMultipleDomainsInCart( flowName ) {
37-
const enabledFlows = [ 'domain', 'onboarding', EXAMPLE_FLOW ];
37+
const enabledFlows = [ 'domain', 'onboarding', EXAMPLE_FLOW, NEW_HOSTED_SITE_FLOW ];
3838

3939
return enabledFlows.includes( flowName );
4040
}

0 commit comments

Comments
 (0)