Skip to content

Commit

Permalink
refactor jv-scheduler: add check for undefined
Browse files Browse the repository at this point in the history
add check for undefined when tabs is not added in configuration
  • Loading branch information
anthomba-tibco committed Nov 5, 2024
1 parent 19a80cb commit e504f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jv-scheduler/src/utils/configurationUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ export const getSchedulerData = async (scheduleConfig: any) => {
return { error };
}

const tabsConfig = tabsOrder.length > 0 ? tabsOrder : tabsDefaultOrder;
const tabsConfig = tabsOrder?.length > 0 ? tabsOrder : tabsDefaultOrder;
const stepsToShow: any[] = [],
tabsToShow: any[] = [];
type TabKeys = "parameters" | "schedule" | "output" | "notifications";
Expand Down

0 comments on commit e504f76

Please sign in to comment.