From c5ebd6ec5070657b9745301d36b81e1a9ad4a3c5 Mon Sep 17 00:00:00 2001 From: masaaki Date: Mon, 15 May 2023 05:47:07 +0000 Subject: [PATCH] =?UTF-8?q?Merged=20PR=20106:=20=E3=83=A6=E3=83=BC?= =?UTF-8?q?=E3=82=B6=E4=B8=80=E8=A6=A7=E3=81=AEurl=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 概要 [Task1746: ユーザ一覧のurlを修正](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/1746) - ユーザ一覧のURLについて、userListとしていましたが、ヘッダコンポーネントのタブ押下時に呼び出すURL(user)に合わせて修正を行いました。 ## レビューポイント - AppRouter.tsxの記載を見たところ、仮でのuserページの定義上は「RouteAuthGuard」という記載がありました。現状は、初回作成時のまま「RouteAuthGuard」を指定しない定義としていますが、問題ないか確認をお願いします。 ## UIの変更 - 無し ## 動作確認状況 - ローカルで確認済 ## 補足 - 無し --- dictation_client/src/AppRouter.tsx | 9 ++++----- dictation_client/src/pages/UserListPage/index.tsx | 2 ++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/dictation_client/src/AppRouter.tsx b/dictation_client/src/AppRouter.tsx index 7a8d45f..03a581c 100644 --- a/dictation_client/src/AppRouter.tsx +++ b/dictation_client/src/AppRouter.tsx @@ -32,7 +32,10 @@ const AppRouter: React.FC = () => ( path="/mail-confirm/alreadyExist" element={} /> - } /> + } />} + /> } />} @@ -42,10 +45,6 @@ const AppRouter: React.FC = () => ( path="/account" element={} />} /> - } />} - /> } />} diff --git a/dictation_client/src/pages/UserListPage/index.tsx b/dictation_client/src/pages/UserListPage/index.tsx index 0700f28..b83da52 100644 --- a/dictation_client/src/pages/UserListPage/index.tsx +++ b/dictation_client/src/pages/UserListPage/index.tsx @@ -3,6 +3,7 @@ import React, { useCallback, useEffect, useState } from "react"; import Header from "components/header"; import Footer from "components/footer"; import styles from "styles/app.module.scss"; +import { UpdateTokenTimer } from "components/auth/updateTokenTimer"; import { useDispatch, useSelector } from "react-redux"; import { listUsersAsync, selectDomain } from "features/user"; import { useTranslation } from "react-i18next"; @@ -46,6 +47,7 @@ const UserListPage: React.FC = (): JSX.Element => {
{/* XXX デザイン上はヘッダに「Account」「User」「License」等の項目が設定されているが、そのままでは使用できない。PBI1128ではユーザ一覧画面は作りこまないので、ユーザ一覧のPBIでヘッダをデザイン通りにする必要がある */}
+