Fix select all (#9337)
There was a bug when selecting all records on the index page. This was due to the fact that `WorkflowRunRecordActionMenuEntrySetterEffect` was mounted when it shouldn't have been.
This commit is contained in:
@ -73,10 +73,8 @@ export const RecordActionMenuEntriesSetter = () => {
|
||||
))}
|
||||
|
||||
{isWorkflowEnabled &&
|
||||
!(
|
||||
contextStoreTargetedRecordsRule?.mode === 'selection' &&
|
||||
contextStoreTargetedRecordsRule?.selectedRecordIds.length === 0
|
||||
) && (
|
||||
contextStoreTargetedRecordsRule?.mode === 'selection' &&
|
||||
contextStoreTargetedRecordsRule?.selectedRecordIds.length === 1 && (
|
||||
<WorkflowRunRecordActionMenuEntrySetterEffect
|
||||
objectMetadataItem={objectMetadataItem}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user