diff --git a/frontend/packages/core/src/AppLayout/index.tsx b/frontend/packages/core/src/AppLayout/index.tsx index 1d5d5eade0..4824752f26 100644 --- a/frontend/packages/core/src/AppLayout/index.tsx +++ b/frontend/packages/core/src/AppLayout/index.tsx @@ -33,14 +33,16 @@ const AppLayout: React.FC = ({ }) => { return ( - {header && React.cloneElement(header, { ...configuration, ...header.props })} - {!header &&
} + {!configuration?.useFullScreenLayout && + header && + React.cloneElement(header, { ...configuration, ...header.props })} + {!configuration?.useFullScreenLayout && !header &&
} {isLoading ? ( ) : ( <> - + {!configuration?.useFullScreenLayout && } diff --git a/frontend/packages/core/src/Types/app.tsx b/frontend/packages/core/src/Types/app.tsx index 9e407b13e6..3fca17a659 100644 --- a/frontend/packages/core/src/Types/app.tsx +++ b/frontend/packages/core/src/Types/app.tsx @@ -7,4 +7,5 @@ export interface AppConfiguration { logo?: React.ReactNode | string; banners?: AppBanners; useWorkflowLayout?: boolean; + useFullScreenLayout?: boolean; }