mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
feat(onboarding): skip agent-waiting/project-create/db-settings when no agents created
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
647905da09
commit
18e7a96754
@@ -83,7 +83,10 @@ export const onboardingSteps: OnboardingStep[] = [
|
||||
component: StepAgentCreate,
|
||||
isSkippable: true,
|
||||
skipToStep: undefined,
|
||||
nextStep: "agent-waiting",
|
||||
nextStep: (ctx: any) => {
|
||||
const agents = ctx.flowData?.agents as unknown[] | undefined;
|
||||
return agents && agents.length > 0 ? "agent-waiting" : "finish";
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "agent-waiting",
|
||||
|
||||
Reference in New Issue
Block a user