Merged PR 630: ファイルプロパティをcloseするとたすく一覧が更新される

## 概要
[Task3333: ファイルプロパティをcloseするとたすく一覧が更新される](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/3333)

- File Property画面にて「Close」ボタンを押下した際に画面がリロードされる問題について対応しました。
「Close」ボタン押下時に「href=""」としていたため、デフォルトのURL遷移(/dictations)が行われていたのを、
onClickによるポップアップ閉じる処理を呼び出す実装に変更しました。

## レビューポイント
- 特にありません

## UIの変更
- 変更なし

## 動作確認状況
- ローカルで確認済

## 補足
- 相談、参考資料などがあれば
This commit is contained in:
masaaki 2023-12-19 05:13:32 +00:00
parent b2fef69ea9
commit 48ff009d39

View File

@ -114,7 +114,7 @@ export const FilePropertyPopup: React.FC<FilePropertyPopupProps> = (props) => {
<dt>{t(getTranslationID("dictationPage.label.transcriptionist"))}</dt>
<dd>{selectedFileTask?.typist?.name ?? ""}</dd>
<dd className={`${styles.full} ${styles.alignRight}`}>
<a href="" className={`${styles.buttonText}`}>
<a onClick={closePopup} className={`${styles.buttonText}`}>
<img src={close} className={styles.modalTitleIcon} alt="close" />
{t(getTranslationID("dictationPage.label.close"))}
</a>