From 28210968e030440cd526bd2a67753b49349ed201 Mon Sep 17 00:00:00 2001 From: "oura.a" Date: Wed, 9 Aug 2023 01:49:16 +0000 Subject: [PATCH] =?UTF-8?q?Merged=20PR=20318:=20develop=E5=8B=95=E4=BD=9C?= =?UTF-8?q?=E7=A2=BA=E8=AA=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 概要 [Task2343: develop動作確認](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/2343) エラーメッセージを修正しました。 ## レビューポイント - 特にレビューしてほしい箇所 - 軽微なものや自明なものは記載不要 - 修正範囲が大きい場合などに記載 - 全体的にや仕様を満たしているか等は本当に必要な時のみ記載 ## UIの変更 - Before/Afterのスクショなど - スクショ置き場 ## 動作確認状況 - ローカルで確認、develop環境で確認など ## 補足 - 相談、参考資料などがあれば --- dictation_client/src/common/errors/code.ts | 4 ++-- .../src/features/license/licenseOrderHistory/operations.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dictation_client/src/common/errors/code.ts b/dictation_client/src/common/errors/code.ts index 2fb3510..ed9d9d2 100644 --- a/dictation_client/src/common/errors/code.ts +++ b/dictation_client/src/common/errors/code.ts @@ -42,6 +42,6 @@ export const errorCodes = [ "E010701", // Blobファイル不在エラー "E010801", // ライセンス不在エラー "E010802", // ライセンス取り込み済みエラー - "E010803", // ライセンス数不足エラー - "E010804", // ライセンス発行済みエラー + "E010803", // ライセンス発行済みエラー + "E010804", // ライセンス数不足エラー ] as const; diff --git a/dictation_client/src/features/license/licenseOrderHistory/operations.ts b/dictation_client/src/features/license/licenseOrderHistory/operations.ts index b6116b0..c6dfd9f 100644 --- a/dictation_client/src/features/license/licenseOrderHistory/operations.ts +++ b/dictation_client/src/features/license/licenseOrderHistory/operations.ts @@ -124,11 +124,11 @@ export const issueLicenseAsync = createAsyncThunk< if (error.code === "E010803") { errorMessage = getTranslationID( - "orderHistoriesPage.message.notEnoughOfNumberOfLicense" + "orderHistoriesPage.message.alreadyIssueLicense" ); } else if (error.code === "E010804") { errorMessage = getTranslationID( - "orderHistoriesPage.message.alreadyIssueLicense" + "orderHistoriesPage.message.notEnoughOfNumberOfLicense" ); } thunkApi.dispatch(