Skip to content

Commit

Permalink
UI: fix schedule save
Browse files Browse the repository at this point in the history
  • Loading branch information
yashlamba committed Jul 23, 2024
1 parent 30c2b3d commit 0de44d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class ScheduleJobModal extends React.Component {
const { selectedOption } = values;

// Filter out the values based on the schema for the selected option
const { selectedOptionSchema } = payloadSchema[selectedOption];
const selectedOptionSchema = payloadSchema[selectedOption];
const filteredValues = Object.keys(values).reduce((acc, key) => {
if (
key !== "selectedOption" && // Exclude the selectedOption itself
Expand Down

0 comments on commit 0de44d4

Please sign in to comment.