From 9280acfa6d317eadbc4d4a35dcc41c6b0991f605 Mon Sep 17 00:00:00 2001 From: Taewan Kim Date: Wed, 25 Sep 2024 22:09:46 +0900 Subject: [PATCH] Update TrainingJob based on the change in the return value of getPipelines(). Issue-ID: AIMLFW-146 Change-Id: Ief3c9546618fa819aa7312743083d46c4087fa51 Signed-off-by: Taewan Kim --- src/components/home/form/CreateOrEditTrainingJobForm.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/home/form/CreateOrEditTrainingJobForm.js b/src/components/home/form/CreateOrEditTrainingJobForm.js index 121736b..c1d74d5 100644 --- a/src/components/home/form/CreateOrEditTrainingJobForm.js +++ b/src/components/home/form/CreateOrEditTrainingJobForm.js @@ -134,10 +134,10 @@ class CreateTrainingJob extends React.Component { pipelineAPI .getPipelines() .then(res => { - this.logger('Server reponded pl', res.data.pipeline_names); + this.logger('Server reponded pl', res.data); this.setState( { - plList: res.data.pipeline_names, + plList: res.data.pipelines, }, () => { let shouldChangePlName = true; @@ -746,8 +746,8 @@ class CreateTrainingJob extends React.Component { --- Select Training Function ---{' '} {this.state.plList.map(data => ( - ))} -- 2.16.6