()
| 673 | const currentHeight = isExpanded ? expandedHeight : HEADER_HEIGHT; |
| 674 | |
| 675 | const getHeaderText = () => { |
| 676 | if (activeCount > 0) { |
| 677 | return `${activeCount} job${activeCount !== 1 ? 's' : ''} processing`; |
| 678 | } |
| 679 | return `${jobs.length} job${jobs.length !== 1 ? 's' : ''} completed`; |
| 680 | }; |
| 681 | |
| 682 | return ( |
| 683 | <motion.div |