Skip to content

Commit

Permalink
Merge pull request #1519 from bcgov/fix/hamed-fuel-code-duplicate-1303
Browse files Browse the repository at this point in the history
Fix: Resolve fuel code increment and row duplication order issue - #1303
  • Loading branch information
hamed-valiollahi authored Dec 23, 2024
2 parents 4b88087 + 85521bd commit e0a352f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions frontend/src/views/FuelCodes/AddFuelCode/AddEditFuelCode.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,6 @@ const AddEditFuelCodeBase = () => {
)
}
setRowData([transformedData])
} else {
setRowData([
{
id: uuid(),
prefixId: 1,
fuelSuffix: optionsData?.fuelCodePrefixes?.find(
(item) => item.prefix === 'BCLCF'
).nextFuelCode
}
])
}
}, [optionsData, existingFuelCode, isGridReady])

Expand Down

0 comments on commit e0a352f

Please sign in to comment.