## 概要 [Task3506: テスト対応](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/3506) - ライセンスが割り当たっている状態の表示をLicense Assignedにする - ライセンスの期限切れ状態の表示をNo Licenseとする - ヘッダーのOMDSCloudの表記を削除 ## レビューポイント - 修正内容に不足はないか - 修正の認識ずれはないか - ほかに修正が影響している箇所はないか ## UIの変更 - https://ndstokyo.sharepoint.com/:f:/r/sites/Piranha/Shared%20Documents/General/OMDS/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88/Task3506?csf=1&web=1&e=g2Hkr3 ## 動作確認状況 - ローカルで確認 ## 補足 - 相談、参考資料などがあれば
20 lines
530 B
TypeScript
20 lines
530 B
TypeScript
// LicenseStatusTypeの値を定数オブジェクトにする
|
|
export const LICENSE_STATUS = {
|
|
NORMAL: "Normal",
|
|
NOLICENSE: "NoLicense",
|
|
ALERT: "Alert",
|
|
RENEW: "Renew",
|
|
} as const;
|
|
|
|
// Licenseの割り当て状態
|
|
export const LICENSE_ALLOCATE_STATUS = {
|
|
ALLOCATED: "Allocated",
|
|
NOTALLOCATED: "Not Allocated",
|
|
} as const;
|
|
|
|
// NoLicenseの表示
|
|
export const NO_LICENSE = "No License" as const;
|
|
|
|
// ライセンスが割り当てられている場合の表示
|
|
export const LICENSE_NORMAL = "License Assigned" as const;
|