mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-12-15 00:26:23 +00:00
Update script-terminal-modal.tsx
This commit is contained in:
@@ -215,15 +215,12 @@ export function ScriptTerminalModal({
|
|||||||
<DialogTitle className="sr-only">{title}</DialogTitle>
|
<DialogTitle className="sr-only">{title}</DialogTitle>
|
||||||
|
|
||||||
<div className="flex items-center gap-2 p-4 border-b">
|
<div className="flex items-center gap-2 p-4 border-b">
|
||||||
{isComplete ? (
|
{isComplete &&
|
||||||
exitCode === 0 ? (
|
(exitCode === 0 ? (
|
||||||
<CheckCircle2 className="h-5 w-5 text-green-500" />
|
<CheckCircle2 className="h-5 w-5 text-green-500" />
|
||||||
) : (
|
) : (
|
||||||
<XCircle className="h-5 w-5 text-red-500" />
|
<XCircle className="h-5 w-5 text-red-500" />
|
||||||
)
|
))}
|
||||||
) : (
|
|
||||||
<Loader2 className="h-5 w-5 animate-spin" />
|
|
||||||
)}
|
|
||||||
<div>
|
<div>
|
||||||
<h2 className="text-lg font-semibold">{title}</h2>
|
<h2 className="text-lg font-semibold">{title}</h2>
|
||||||
{description && <p className="text-sm text-muted-foreground">{description}</p>}
|
{description && <p className="text-sm text-muted-foreground">{description}</p>}
|
||||||
|
|||||||
Reference in New Issue
Block a user