Merged PR 318: develop動作確認

## 概要
[Task2343: develop動作確認](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/2343)

エラーメッセージを修正しました。

## レビューポイント
- 特にレビューしてほしい箇所
- 軽微なものや自明なものは記載不要
- 修正範囲が大きい場合などに記載
- 全体的にや仕様を満たしているか等は本当に必要な時のみ記載

## UIの変更
- Before/Afterのスクショなど
- スクショ置き場

## 動作確認状況
- ローカルで確認、develop環境で確認など

## 補足
- 相談、参考資料などがあれば
This commit is contained in:
oura.a 2023-08-09 01:49:16 +00:00
parent 01d20df628
commit 28210968e0
2 changed files with 4 additions and 4 deletions

View File

@ -42,6 +42,6 @@ export const errorCodes = [
"E010701", // Blobファイル不在エラー "E010701", // Blobファイル不在エラー
"E010801", // ライセンス不在エラー "E010801", // ライセンス不在エラー
"E010802", // ライセンス取り込み済みエラー "E010802", // ライセンス取り込み済みエラー
"E010803", // ライセンス数不足エラー "E010803", // ライセンス発行済みエラー
"E010804", // ライセンス発行済みエラー "E010804", // ライセンス数不足エラー
] as const; ] as const;

View File

@ -124,11 +124,11 @@ export const issueLicenseAsync = createAsyncThunk<
if (error.code === "E010803") { if (error.code === "E010803") {
errorMessage = getTranslationID( errorMessage = getTranslationID(
"orderHistoriesPage.message.notEnoughOfNumberOfLicense" "orderHistoriesPage.message.alreadyIssueLicense"
); );
} else if (error.code === "E010804") { } else if (error.code === "E010804") {
errorMessage = getTranslationID( errorMessage = getTranslationID(
"orderHistoriesPage.message.alreadyIssueLicense" "orderHistoriesPage.message.notEnoughOfNumberOfLicense"
); );
} }
thunkApi.dispatch( thunkApi.dispatch(