Spaces:
Running
Running
Update frontend/src/components/ocr/ProcessingStatus.jsx
Browse files
frontend/src/components/ocr/ProcessingStatus.jsx
CHANGED
|
@@ -64,7 +64,7 @@ export default function ProcessingStatus({ isProcessing, isComplete }) {
|
|
| 64 |
: "none",
|
| 65 |
}}
|
| 66 |
>
|
| 67 |
-
{isActive ? (
|
| 68 |
<motion.div
|
| 69 |
animate={{ rotate: 360 }}
|
| 70 |
transition={{
|
|
@@ -79,7 +79,7 @@ export default function ProcessingStatus({ isProcessing, isComplete }) {
|
|
| 79 |
<Icon
|
| 80 |
className={cn(
|
| 81 |
"h-5 w-5",
|
| 82 |
-
isCompleted ? "text-white" : "text-slate-400"
|
| 83 |
)}
|
| 84 |
/>
|
| 85 |
)}
|
|
|
|
| 64 |
: "none",
|
| 65 |
}}
|
| 66 |
>
|
| 67 |
+
{isActive && !isComplete ? (
|
| 68 |
<motion.div
|
| 69 |
animate={{ rotate: 360 }}
|
| 70 |
transition={{
|
|
|
|
| 79 |
<Icon
|
| 80 |
className={cn(
|
| 81 |
"h-5 w-5",
|
| 82 |
+
isCompleted || (isActive && isComplete) ? "text-white" : "text-slate-400"
|
| 83 |
)}
|
| 84 |
/>
|
| 85 |
)}
|