Properly block actions based on build status

This commit is contained in:
Chad Curtis committed 2025-09-25 02:56:01 +00:00
1 parent 0f4075ce38
commit 1ed4a5abd4
1 file changed
+4 -4
+4 -4
View File
@@ -644,10 +644,10 @@ export function PreviewPane({ projectId, activeTab, onToggleView, projectName, o
<div className="h-12 flex items-center w-full">
<BrowserAddressBar
currentPath={currentPath}
onNavigate={navigateIframe}
onRefresh={refreshIframe}
onBack={goBackIframe}
onForward={goForwardIframe}
onNavigate={hasBuiltProject ? navigateIframe : undefined}
onRefresh={hasBuiltProject ? refreshIframe : undefined}
onBack={hasBuiltProject ? goBackIframe : undefined}
onForward={hasBuiltProject ? goForwardIframe : undefined}
canGoBack={hasBuiltProject && historyIndex > 0}
canGoForward={hasBuiltProject && historyIndex < navigationHistory.length - 1}
extraContent={(