This commit is contained in:
parent
554bbfceed
commit
63dbf89207
1 changed files with 13 additions and 5 deletions
|
|
@ -254,11 +254,19 @@ export default function OpenClawToolCard({
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{!checkingOpenclaw && openclawStatus && !openclawStatus.installed && (
|
{!checkingOpenclaw && openclawStatus && !openclawStatus.installed && (
|
||||||
<div className="flex items-center gap-3 p-4 bg-yellow-500/10 border border-yellow-500/30 rounded-lg">
|
<div className="flex flex-col gap-3">
|
||||||
<span className="material-symbols-outlined text-yellow-500">warning</span>
|
<div className="flex items-center gap-3 p-4 bg-yellow-500/10 border border-yellow-500/30 rounded-lg">
|
||||||
<div className="flex-1">
|
<span className="material-symbols-outlined text-yellow-500">warning</span>
|
||||||
<p className="font-medium text-yellow-600 dark:text-yellow-400">Open Claw CLI not installed</p>
|
<div className="flex-1">
|
||||||
<p className="text-sm text-text-muted">Please install Open Claw CLI to use this feature.</p>
|
<p className="font-medium text-yellow-600 dark:text-yellow-400">Open Claw CLI not installed</p>
|
||||||
|
<p className="text-sm text-text-muted">Please install Open Claw CLI to use this feature.</p>
|
||||||
|
</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>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue