fix: admin can not delete own
This commit is contained in:
@@ -41,6 +41,9 @@ export default function useTableRowSelection() {
|
||||
selectedRowKeys,
|
||||
selectedRows,
|
||||
enableSelection: true,
|
||||
getCheckboxProps: (record: Record<string, any>) => ({
|
||||
disabled: record.disabled
|
||||
}),
|
||||
clearSelections,
|
||||
onChange: onSelectChange,
|
||||
removeSelectedKeys,
|
||||
|
||||
Reference in New Issue
Block a user