mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: block deletion for built Nlp Entities
This commit is contained in:
@@ -267,6 +267,7 @@ const NlpEntity = () => {
|
||||
<DataGrid
|
||||
columns={nlpEntityColumns}
|
||||
{...nlpEntityGrid}
|
||||
isRowSelectable={({ row }) => !row.builtin}
|
||||
checkboxSelection
|
||||
onRowSelectionModelChange={handleSelectionChange}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user