aboutsummaryrefslogtreecommitdiffstats
path: root/src/web
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-03-08 19:04:43 -0500
committerJP Dillingham <jp@dillingham.me>2026-03-08 19:04:43 -0500
commit733e513407fe455f8523924e7ef4edf774f44f2f (patch)
tree9e629d2abdd347f69d7101dc39e709467504ae53 /src/web
parentf5dae4af3ba121983f1cac20f310f86916b82202 (diff)
downloadslskd-733e513407fe455f8523924e7ef4edf774f44f2f.tar.gz
show retry stuff if retrying
Diffstat (limited to 'src/web')
-rw-r--r--src/web/src/components/Transfers/TransferList.jsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/web/src/components/Transfers/TransferList.jsx b/src/web/src/components/Transfers/TransferList.jsx
index 4bd1e14e..42e58933 100644
--- a/src/web/src/components/Transfers/TransferList.jsx
+++ b/src/web/src/components/Transfers/TransferList.jsx
@@ -163,6 +163,9 @@ class TransferList extends Component {
padding: 7,
}}
{...getColor(f.state)}
+ {...(!getColor(f.state).color && f.attempts > 1
+ ? { color: 'yellow' }
+ : {})}
active={f.direction === 'Upload'}
onClick={() => this.handleClick(f)}
>
@@ -176,6 +179,7 @@ class TransferList extends Component {
)}
{f.state}
{f.placeInQueue ? ` (#${f.placeInQueue})` : ''}
+ {f.attempts > 1 ? ` (Retry #${f.attempts})` : ''}
</Button>
)}
</Table.Cell>