updates
This commit is contained in:
parent
812a74455e
commit
5fd663a7d0
@ -622,7 +622,7 @@ const IsicHsCodes = () => {
|
|||||||
|
|
||||||
// Filter data based on search term
|
// Filter data based on search term
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
if (!searchTerm.trim()) {
|
if (!searchTerm?.trim()) {
|
||||||
setFilteredData(rowsData);
|
setFilteredData(rowsData);
|
||||||
} else {
|
} else {
|
||||||
const lowercasedSearch = searchTerm.toLowerCase();
|
const lowercasedSearch = searchTerm.toLowerCase();
|
||||||
@ -1623,7 +1623,7 @@ const handleExportCSV = () => {
|
|||||||
<option value="">Select Unit</option>
|
<option value="">Select Unit</option>
|
||||||
{unitOptions.map((option) => (
|
{unitOptions.map((option) => (
|
||||||
<option key={option.value} value={option.value}>
|
<option key={option.value} value={option.value}>
|
||||||
{option.label.split('-')[1].trim()}
|
{option?.label}
|
||||||
</option>
|
</option>
|
||||||
))}
|
))}
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user