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 &&
|
{isWorkflowEnabled &&
|
||||||
!(
|
contextStoreTargetedRecordsRule?.mode === 'selection' &&
|
||||||
contextStoreTargetedRecordsRule?.mode === 'selection' &&
|
contextStoreTargetedRecordsRule?.selectedRecordIds.length === 1 && (
|
||||||
contextStoreTargetedRecordsRule?.selectedRecordIds.length === 0
|
|
||||||
) && (
|
|
||||||
<WorkflowRunRecordActionMenuEntrySetterEffect
|
<WorkflowRunRecordActionMenuEntrySetterEffect
|
||||||
objectMetadataItem={objectMetadataItem}
|
objectMetadataItem={objectMetadataItem}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user