Skip to content

Commit

Permalink
Merge pull request #1480 from bcgov/fix/hamed-export-fuel-headings-1459
Browse files Browse the repository at this point in the history
Fix: Correct column headings in Export Fuel table - #1459
  • Loading branch information
hamed-valiollahi authored Dec 17, 2024
2 parents 74d2c30 + 788a8c1 commit bb9e0e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/src/assets/locales/en/fuelExport.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/views/FuelExports/_schema.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||
Expand Down Expand Up @@ -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 ||
Expand Down

0 comments on commit bb9e0e6

Please sign in to comment.