diff options
| author | Muppetteer <Muppetteer@users.noreply.github.com> | 2021-11-15 15:55:21 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-15 15:55:21 +1100 |
| commit | 7aaa25de74092068d8305b0d1c0354e56a8503e7 (patch) | |
| tree | 8c9f6cc4a9cded6e7c52608e1f756d9624721601 /src/slskd/Core/API/Controllers/ApplicationController.cs | |
| parent | 7524467413ba48ce8c5a0c11ee023103b0d192f6 (diff) | |
| download | slskd-7aaa25de74092068d8305b0d1c0354e56a8503e7.tar.gz | |
Retry button on failed downloads fails with a script error
Clicking retry on a failed download does not seem to work at all for me. To reproduce:
1. Search for something to download.
2. Switch to downloads tab and watch it start.
3. Force it to fail somehow.
4. Progress says "Completed, Errored" and the progress bar is 100% red.
5. Select the failed download and press the retry button at bottom of the page.
This error is being logged in the browser console.
```
Uncaught (in promise) TypeError: e.map is not a function
retryAll TransferGroup.js:54
onClick TransferGroup.js:123
Lodash 4
handleClick Button.js:63
React 12
unstable_runWithPriority scheduler.production.min.js:19
React 3
```
Looking at it TransferGroup->retryAll function is expecting 1 parameter but it is being called with 3. Only the 3rd parameter should be used (map of selected items).
This is untested as I am running slskd in a Docker container and can't work out how to edit the source inside it.
Diffstat (limited to 'src/slskd/Core/API/Controllers/ApplicationController.cs')
0 files changed, 0 insertions, 0 deletions
