Fix error when no control

Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
gearnode
2025-03-31 14:47:20 +02:00
parent c582a105b0
commit 77a89074bd

View File

@@ -153,7 +153,7 @@ function FrameworkViewContent({
>
<div className="flex flex-row items-start justify-start w-full h-[calc(100vh-216px)] overflow-hidden -ml-8">
<ControlList fragmentKey={framework} />
{controlId ? <Outlet /> : <ControlView controlId={control?.node.id} />}
{controlId && <ControlView controlId={control?.node.id} />}
</div>
{/* Delete Confirmation Dialog */}