Skip to content

Commit

Permalink
Add routes prop to pass to the remote standard ensembler
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlycoconuts committed Sep 19, 2022
1 parent aa89779 commit 93a75ba
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const FallbackView = ({ text }) => (
const StandardEnsemblerWithCustomExperimentEnginePanel = ({
remoteUi,
projectId,
routes,
routeNamePath,
onChange,
errors,
Expand All @@ -40,6 +41,7 @@ const StandardEnsemblerWithCustomExperimentEnginePanel = ({
name="./EditStandardEnsemblerConfig"
fallback={<FallbackView text="Loading Standard Ensembler config for the selected Custom Experiment Engine" />}
projectId={projectId}
routes={routes}
routeNamePath={routeNamePath}
onChange={onChange}
errors={errors}
Expand Down Expand Up @@ -112,6 +114,7 @@ export const StandardEnsemblerFormGroup = ({
url: "http://localhost:3002/xp/remoteEntry.js"
}}
projectId={projectId}
routes={routes}
routeNamePath={standardConfig.route_name_path}
onChange={onChange("route_name_path")}
errors={get(errors, "route_name_path")}
Expand Down

0 comments on commit 93a75ba

Please sign in to comment.