Fix send email error when empty connected account (#10005)
- Fix send email error when empty connected account - Add a global util to valid uuid - Add an util to check if object is workflow related
This commit is contained in:
@ -0,0 +1,9 @@
|
||||
import { isWorkflowSubObjectMetadata } from '@/object-metadata/utils/isWorkflowSubObjectMetadata';
|
||||
import { CoreObjectNameSingular } from '../types/CoreObjectNameSingular';
|
||||
|
||||
export const isWorkflowRelatedObjectMetadata = (objectNameSingular: string) => {
|
||||
return (
|
||||
objectNameSingular === CoreObjectNameSingular.Workflow ||
|
||||
isWorkflowSubObjectMetadata(objectNameSingular)
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user