Merged PR 106: ユーザ一覧のurlを修正
## 概要 [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の変更 - 無し ## 動作確認状況 - ローカルで確認済 ## 補足 - 無し
This commit is contained in:
parent
4a5307842c
commit
c5ebd6ec50
@ -32,7 +32,10 @@ const AppRouter: React.FC = () => (
|
||||
path="/mail-confirm/alreadyExist"
|
||||
element={<VerifyAlreadyExistPage />}
|
||||
/>
|
||||
<Route path="/userlist" element={<UserListPage />} />
|
||||
<Route
|
||||
path="/user"
|
||||
element={<RouteAuthGuard component={<UserListPage />} />}
|
||||
/>
|
||||
<Route
|
||||
path="/xxx"
|
||||
element={<RouteAuthGuard component={<SamplePage />} />}
|
||||
@ -42,10 +45,6 @@ const AppRouter: React.FC = () => (
|
||||
path="/account"
|
||||
element={<RouteAuthGuard component={<SamplePage />} />}
|
||||
/>
|
||||
<Route
|
||||
path="/user"
|
||||
element={<RouteAuthGuard component={<SamplePage />} />}
|
||||
/>
|
||||
<Route
|
||||
path="/dictations"
|
||||
element={<RouteAuthGuard component={<SamplePage />} />}
|
||||
|
||||
@ -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 => {
|
||||
<div className={styles.wrap}>
|
||||
{/* XXX デザイン上はヘッダに「Account」「User」「License」等の項目が設定されているが、そのままでは使用できない。PBI1128ではユーザ一覧画面は作りこまないので、ユーザ一覧のPBIでヘッダをデザイン通りにする必要がある */}
|
||||
<Header />
|
||||
<UpdateTokenTimer />
|
||||
<main className={styles.main}>
|
||||
<div className="">
|
||||
<div className={styles.pageHeader}>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user