From 36458ea93e6229c301724d5bff235929b5cb42ee Mon Sep 17 00:00:00 2001 From: Hamed Valiollahi Bayeki Date: Tue, 17 Dec 2024 14:10:57 -0800 Subject: [PATCH] fix: correct column headings in Export Fuel table --- frontend/src/assets/locales/en/fuelExport.json | 4 ++-- frontend/src/views/FuelExports/_schema.jsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/assets/locales/en/fuelExport.json b/frontend/src/assets/locales/en/fuelExport.json index d5cf55dc6..3050cb2da 100644 --- a/frontend/src/assets/locales/en/fuelExport.json +++ b/frontend/src/assets/locales/en/fuelExport.json @@ -12,10 +12,10 @@ "fuelExportColLabels": { "complianceReportId": "Compliance Report ID", "fuelExportId": "Fuel export ID", - "fuelTypeId": "Fuel type", + "fuelType": "Fuel type", "exportDate": "Export date", "fuelTypeOther": "Fuel type other", - "fuelCategoryId": "Fuel catgory", + "fuelCategory": "Fuel catgory", "endUse": "End use", "provisionOfTheActId": "Determining carbon intensity", "fuelCode": "Fuel code", diff --git a/frontend/src/views/FuelExports/_schema.jsx b/frontend/src/views/FuelExports/_schema.jsx index d826fa567..60656d905 100644 --- a/frontend/src/views/FuelExports/_schema.jsx +++ b/frontend/src/views/FuelExports/_schema.jsx @@ -113,7 +113,7 @@ export const fuelExportColDefs = (optionsData, errors, gridReady) => [ { field: 'fuelType', headerComponent: RequiredHeader, - headerName: i18n.t('fuelExport:fuelExportColLabels.fuelTypeId'), + headerName: i18n.t('fuelExport:fuelExportColLabels.fuelType'), cellEditor: AutocompleteCellEditor, cellRenderer: (params) => params.value || @@ -182,7 +182,7 @@ export const fuelExportColDefs = (optionsData, errors, gridReady) => [ { field: 'fuelCategory', headerComponent: RequiredHeader, - headerName: i18n.t('fuelExport:fuelExportColLabels.fuelCategoryId'), + headerName: i18n.t('fuelExport:fuelExportColLabels.fuelCategory'), cellEditor: AutocompleteCellEditor, cellRenderer: (params) => params.value ||