From d0628caa05433c6d7c674a57bf66cd9df784a84b Mon Sep 17 00:00:00 2001 From: "saito.k" Date: Mon, 26 Feb 2024 10:42:26 +0000 Subject: [PATCH] =?UTF-8?q?Merged=20PR=20767:=20=E3=83=91=E3=83=BC?= =?UTF-8?q?=E3=83=88=E3=83=8A=E3=83=BC=E8=BF=BD=E5=8A=A0=E6=88=90=E5=8A=9F?= =?UTF-8?q?=E6=99=82=E3=81=AB=E4=B8=80=E8=A6=A7=E3=81=AE=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E3=81=8C=E8=A1=8C=E3=82=8F=E3=82=8C=E3=81=A6=E3=81=84=E3=81=AA?= =?UTF-8?q?=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 概要 [Task3769: パートナー追加成功時に一覧の更新が行われていない](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/3769) - パートナー追加成功時に一覧の更新を行う ## レビューポイント - 特になし ## UIの変更 - https://ndstokyo.sharepoint.com/:f:/r/sites/Piranha/Shared%20Documents/General/OMDS/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88/Task3769?csf=1&web=1&e=ajJOBd ## 動作確認状況 - ローカルで確認、develop環境で確認など ## 補足 - 相談、参考資料などがあれば --- .../pages/PartnerPage/addPartnerAccountPopup.tsx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/dictation_client/src/pages/PartnerPage/addPartnerAccountPopup.tsx b/dictation_client/src/pages/PartnerPage/addPartnerAccountPopup.tsx index edf782c..48b36a2 100644 --- a/dictation_client/src/pages/PartnerPage/addPartnerAccountPopup.tsx +++ b/dictation_client/src/pages/PartnerPage/addPartnerAccountPopup.tsx @@ -11,6 +11,7 @@ import { selectEmail, selectInputValidationErrors, selectIsLoading, + selectOffset, } from "features/partner/selectors"; import { changeAdminName, @@ -19,7 +20,11 @@ import { changeEmail, cleanupAddPartner, } from "features/partner/partnerSlice"; -import { createPartnerAccountAsync } from "features/partner"; +import { + LIMIT_PARTNER_VIEW_NUM, + createPartnerAccountAsync, + getPartnerInfoAsync, +} from "features/partner"; import close from "../../assets/images/close.svg"; import progress_activit from "../../assets/images/progress_activit.svg"; import { COUNTRY_LIST } from "../SignupPage/constants"; @@ -50,6 +55,7 @@ export const AddPartnerAccountPopup: React.FC = ( const adminName = useSelector(selectAdminName); const email = useSelector(selectEmail); const isLoading = useSelector(selectIsLoading); + const offset = useSelector(selectOffset); // ポップアップを閉じる処理 const closePopup = useCallback(() => { @@ -84,6 +90,12 @@ export const AddPartnerAccountPopup: React.FC = ( setIsPushCreateButton(false); if (meta.requestStatus === "fulfilled") { + dispatch( + getPartnerInfoAsync({ + limit: LIMIT_PARTNER_VIEW_NUM, + offset, + }) + ); closePopup(); } }, [