From 2e61e3342c1a03d995cbf563cafe9758b2f9048f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?sanguu=28=EB=B0=95=EC=83=81=ED=98=84=29?= Date: Thu, 22 Dec 2022 17:45:03 +0900 Subject: [PATCH] =?UTF-8?q?=EB=93=9C=EB=A1=A0=EA=B4=80=EC=A0=9C=20?= =?UTF-8?q?=EC=95=84=EC=9D=B4=EC=BD=98=20=EB=B2=84=EA=B7=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/control/gp/sagas/controlGpSaga.ts | 1 + src/views/control/main/ControlMain.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/modules/control/gp/sagas/controlGpSaga.ts b/src/modules/control/gp/sagas/controlGpSaga.ts index 63579fd..3aeadf0 100644 --- a/src/modules/control/gp/sagas/controlGpSaga.ts +++ b/src/modules/control/gp/sagas/controlGpSaga.ts @@ -150,6 +150,7 @@ function* controlDtlSaga( yield put( Actions.controlGpDtlAction.success({ ...data, + res, items: res.response.body.items }) ); diff --git a/src/views/control/main/ControlMain.js b/src/views/control/main/ControlMain.js index 759a73d..0f7f3d7 100644 --- a/src/views/control/main/ControlMain.js +++ b/src/views/control/main/ControlMain.js @@ -120,9 +120,9 @@ const ControlMain = () => { let skyDetail = wheatherDetail[6].fcstValue; if (skyDetail == 1 || skyDetail == 2 || skyDetail == 4) { return ; - } else if (skyDetail == 4) { + } else if (skyDetail == 3) { return ; - } else if (skyDetail == 0 || wheatherDetail[5].fcstValue == 1) { + } else if (wheatherDetail[5].fcstValue == 1) { return ; } else return ; }