Repository navigation
Commit 6334d02
committed
Share formatElapsed and drop status-bar IIFE
Reuse the in-flight indicator duration formatter for the agents strip
and completed-agents label so three near-copies do not drift. Compute
completedAgentsLabel once above the return instead of an IIFE spread.1 parent bb86e83 commit 6334d02
3 files changed
Lines changed: 7 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
| 581 | + | |
| 582 | + | |
581 | 583 | | |
582 | 584 | | |
583 | 585 | | |
| |||
1325 | 1327 | | |
1326 | 1328 | | |
1327 | 1329 | | |
1328 | | - | |
1329 | | - | |
1330 | | - | |
1331 | | - | |
| 1330 | + | |
1332 | 1331 | | |
1333 | 1332 | | |
1334 | 1333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
318 | 319 | | |
319 | 320 | | |
320 | 321 | | |
321 | | - | |
| 322 | + | |
322 | 323 | | |
323 | 324 | | |
324 | 325 | | |
| |||
341 | 342 | | |
342 | 343 | | |
343 | 344 | | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | 345 | | |
355 | 346 | | |
356 | 347 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
| 151 | + | |
| 152 | + | |
163 | 153 | | |
164 | 154 | | |
165 | 155 | | |
| |||
0 commit comments