fix: show ComplianceAdvisor + PipelineSidebar without project selection

Widgets were hidden behind projectId guard. Removed condition so new
users can ask questions (e.g. "Wie lege ich ein Projekt an?") before
creating a project.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-04-28 23:06:28 +02:00
parent b39c1d5dce
commit 3c9ac03ccc
+3 -3
View File
@@ -208,10 +208,10 @@ function SDKInnerLayout({ children }: { children: React.ReactNode }) {
{isCommandBarOpen && <CommandBar onClose={() => setCommandBarOpen(false)} />}
{/* Pipeline Sidebar (FAB on mobile/tablet, fixed on desktop xl+) */}
{projectId && <SDKPipelineSidebar />}
<SDKPipelineSidebar />
{/* Compliance Advisor Widget */}
{projectId && <ComplianceAdvisorWidget currentStep={currentStep} />}
{/* Compliance Advisor Widget — immer sichtbar, auch ohne Projekt */}
<ComplianceAdvisorWidget currentStep={currentStep} />
</div>
)
}