fix: block deletion for built Nlp Entities

This commit is contained in:
yassinedorbozgithub
2025-05-13 15:13:31 +01:00
parent 933daaa221
commit ab30c46d97
2 changed files with 16 additions and 0 deletions

View File

@@ -267,6 +267,7 @@ const NlpEntity = () => {
<DataGrid
columns={nlpEntityColumns}
{...nlpEntityGrid}
isRowSelectable={({ row }) => !row.builtin}
checkboxSelection
onRowSelectionModelChange={handleSelectionChange}
/>