Fix(Ratecard): translate locate update

This commit is contained in:
shancds
2025-05-23 17:09:16 +05:30
parent 659ede7fb5
commit 21a4131faa
4 changed files with 15 additions and 6 deletions

View File

@@ -220,6 +220,9 @@ const RatecardDrawer = ({
setAddingRowIndex(null);
}}
onBlur={() => {
if (roles[index].job_title_id === ""){
handleDeleteRole(index);
}
setEditingRowIndex(null);
setAddingRowIndex(null);
}}
@@ -241,7 +244,7 @@ const RatecardDrawer = ({
return (
<span
style={{ cursor: 'pointer' }}
onClick={() => setEditingRowIndex(index)}
// onClick={() => setEditingRowIndex(index)}
>
{record.jobtitle}
</span>