Skip to content

Commit

Permalink
More
Browse files Browse the repository at this point in the history
  • Loading branch information
officiallygod committed Jan 17, 2024
1 parent 6d3083f commit acd31f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/OnboardingSPA/components/StartOptions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const StartOptions = ( { questionnaire, oldFlow, options } ) => {
};
const selectFlow = ( flow ) => {
switch ( flow ) {
case 'onboarding':
case 'sitebuild':
return switchFlow( oldFlow );
case SITEGEN:
return switchFlow( SITEGEN_FLOW );
Expand All @@ -71,7 +71,7 @@ const StartOptions = ( { questionnaire, oldFlow, options } ) => {
{ options.map( ( tab, idx ) => {
if (
tab.flow === SITEGEN &&
! validateFlow( brandConfig, SITEGEN_FLOW )
! validateFlow( brandConfig, tab.flow )
) {
// Do not show the Sitegen AI option if not enabled for the customer
return false;
Expand Down
2 changes: 1 addition & 1 deletion src/OnboardingSPA/steps/TheFork/contents.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const getContents = () => {
"We'll stay out of your way.",
'wp-module-onboarding'
),
flow: 'onboarding',
flow: 'sitebuild',
},
{
title: __( ' Website Creator', 'wp-module-onboarding' ),
Expand Down

0 comments on commit acd31f7

Please sign in to comment.