Fix workflow with manual triggers and no selection not appearing in the command menu (#11544)
Fix workflow with manual triggers and no selection not appearing in the command menu --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
+3
@@ -8,8 +8,10 @@ import { isDefined } from 'twenty-shared/utils';
|
||||
|
||||
export const useActiveWorkflowVersionsWithManualTrigger = ({
|
||||
objectMetadataItem,
|
||||
skip,
|
||||
}: {
|
||||
objectMetadataItem?: ObjectMetadataItem;
|
||||
skip?: boolean;
|
||||
}) => {
|
||||
const filters = [
|
||||
{
|
||||
@@ -50,6 +52,7 @@ export const useActiveWorkflowVersionsWithManualTrigger = ({
|
||||
}),
|
||||
workflow: true,
|
||||
},
|
||||
skip,
|
||||
});
|
||||
|
||||
// TODO: refactor when we can use 'not like' in the RawJson filter
|
||||
|
||||
Reference in New Issue
Block a user