fix: show manual config option when OpenClaw detection fails (closes #579) (#615)

This commit is contained in:
Anurag Saxena
2026-04-17 01:04:14 -04:00
committed by GitHub
parent 554bbfceed
commit 63dbf89207

View File

@@ -254,6 +254,7 @@ export default function OpenClawToolCard({
)} )}
{!checkingOpenclaw && openclawStatus && !openclawStatus.installed && ( {!checkingOpenclaw && openclawStatus && !openclawStatus.installed && (
<div className="flex flex-col gap-3">
<div className="flex items-center gap-3 p-4 bg-yellow-500/10 border border-yellow-500/30 rounded-lg"> <div className="flex items-center gap-3 p-4 bg-yellow-500/10 border border-yellow-500/30 rounded-lg">
<span className="material-symbols-outlined text-yellow-500">warning</span> <span className="material-symbols-outlined text-yellow-500">warning</span>
<div className="flex-1"> <div className="flex-1">
@@ -261,6 +262,13 @@ export default function OpenClawToolCard({
<p className="text-sm text-text-muted">Please install Open Claw CLI to use this feature.</p> <p className="text-sm text-text-muted">Please install Open Claw CLI to use this feature.</p>
</div> </div>
</div> </div>
{/* Show manual config option even when detection fails */}
<div className="flex items-center gap-2">
<Button variant="ghost" size="sm" onClick={() => setShowManualConfigModal(true)}>
<span className="material-symbols-outlined text-[14px] mr-1">content_copy</span>Manual Config
</Button>
</div>
</div>
)} )}
{!checkingOpenclaw && openclawStatus?.installed && ( {!checkingOpenclaw && openclawStatus?.installed && (