diff options
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx | 5 | ||||
| -rw-r--r-- | app/[lng]/evcp/(evcp)/edp-progress/page.tsx | 4 | ||||
| -rw-r--r-- | i18n/locales/en/menu.json | 5 |
3 files changed, 8 insertions, 6 deletions
diff --git a/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx b/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx index e7109dcb..799c3b5a 100644 --- a/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx +++ b/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx @@ -13,13 +13,14 @@ import { InformationButton } from "@/components/information/information-button" import { useTranslation } from "@/i18n" interface IndexPageProps { searchParams: Promise<SearchParams> + params: Promise<{ lng: string }> } export default async function IndexPage(props: IndexPageProps) { const searchParams = await props.searchParams const search = searchParamsInvestigationCache.parse(searchParams) - const {lng} = await props.params - const {t} = await useTranslation(lng, 'menu') + const { lng } = await props.params + const { t } = await useTranslation(lng, 'menu') const validFilters = getValidFilters(search.filters) diff --git a/app/[lng]/evcp/(evcp)/edp-progress/page.tsx b/app/[lng]/evcp/(evcp)/edp-progress/page.tsx index 9464c037..b205dd77 100644 --- a/app/[lng]/evcp/(evcp)/edp-progress/page.tsx +++ b/app/[lng]/evcp/(evcp)/edp-progress/page.tsx @@ -10,8 +10,8 @@ interface edpProgressPageProps { params: Promise<{ lng: string }> } -export default async function IndexPage({ params: edpProgressPageProps }) { - const { lng } = await params +export default async function IndexPage(props: edpProgressPageProps) { + const { lng } = await props.params const { t } = await useTranslation(lng, 'menu') return ( diff --git a/i18n/locales/en/menu.json b/i18n/locales/en/menu.json index bee0a946..e4835c37 100644 --- a/i18n/locales/en/menu.json +++ b/i18n/locales/en/menu.json @@ -94,8 +94,9 @@ "tbe": "TBE", "tbe_desc": "Technical Bid Evaluation", "itb": "RFQ Creation", - "itb_desc": "Create RFQ before PR Issue" - + "itb_desc": "Create RFQ before PR Issue", + "vendor_progress": "Vendor Progress", + "vendor_progress_desc": "Vendor EDP input progress" }, "vendor_management": { "title": "Vendor", |
