Skip to content

Commit

Permalink
NEOS-553 Fixes schema table not loading for new job Sync flow (#945)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickzelei authored Dec 21, 2023
1 parent 335b1f7 commit 76e3715
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/apps/web/app/[account]/new/job/schema/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ function getFormValues(
dbCols: DatabaseColumn[],
existingData: SchemaFormValues | undefined
): SchemaFormValues {
if (existingData) {
const existingMappings = existingData?.mappings ?? [];
if (existingData && existingMappings.length > 0) {
return existingData;
}

Expand Down

1 comment on commit 76e3715

@vercel
Copy link

@vercel vercel bot commented on 76e3715 Dec 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.