| ... | ... | @@ -746,10 +746,6 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp |
| 746 | 746 | gitModalSteps.map((step, index) => { |
| 747 | 747 | const borderClass = |
| 748 | 748 | index < gitModalSteps.length - 1 ? "border-b border-border/70" : ""; |
| 749 | | const statusTextClass = |
| 750 | | step.status === "failed" |
| 751 | | ? "text-rose-500 dark:text-rose-300" |
| 752 | | : "text-muted-foreground/70"; |
| 753 | 749 | |
| 754 | 750 | return ( |
| 755 | 751 | <div |
| ... | ... | @@ -771,8 +767,10 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp |
| 771 | 767 | </span> |
| 772 | 768 | <div className="min-w-0"> |
| 773 | 769 | <p className="text-sm text-foreground">{step.label}</p> |
| 774 | | {step.detail && ( |
| 775 | | <p className={`mt-0.5 text-xs ${statusTextClass}`}>{step.detail}</p> |
| 770 | {step.status === "failed" && step.detail && ( |
| 771 | <p className="mt-0.5 text-xs text-rose-500 dark:text-rose-300"> |
| 772 | {step.detail} |
| 773 | </p> |
| 776 | 774 | )} |
| 777 | 775 | </div> |
| 778 | 776 | </div> |