From 93a75ba57884a4f16d6805b976f75a824b389802 Mon Sep 17 00:00:00 2001 From: ewezy Date: Wed, 14 Sep 2022 18:45:57 +0800 Subject: [PATCH] Add routes prop to pass to the remote standard ensembler --- .../standard_ensembler/StandardEnsemblerFormGroup.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/src/router/components/form/components/ensembler_config/standard_ensembler/StandardEnsemblerFormGroup.js b/ui/src/router/components/form/components/ensembler_config/standard_ensembler/StandardEnsemblerFormGroup.js index 7382a14a7..664d23b34 100644 --- a/ui/src/router/components/form/components/ensembler_config/standard_ensembler/StandardEnsemblerFormGroup.js +++ b/ui/src/router/components/form/components/ensembler_config/standard_ensembler/StandardEnsemblerFormGroup.js @@ -24,6 +24,7 @@ const FallbackView = ({ text }) => ( const StandardEnsemblerWithCustomExperimentEnginePanel = ({ remoteUi, projectId, + routes, routeNamePath, onChange, errors, @@ -40,6 +41,7 @@ const StandardEnsemblerWithCustomExperimentEnginePanel = ({ name="./EditStandardEnsemblerConfig" fallback={} projectId={projectId} + routes={routes} routeNamePath={routeNamePath} onChange={onChange} errors={errors} @@ -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")}