fix display of transfers for remotes not in syncRemotes list
This commit is contained in:
parent
6ea6a2e71c
commit
592d55ef7c
2 changed files with 2 additions and 5 deletions
|
@ -67,8 +67,8 @@ onAdd st dstatus _ file _ = case parseTransferFile file of
|
|||
[ "transfer starting:"
|
||||
, show t
|
||||
]
|
||||
r <- headMaybe . filter (sameuuid t) . syncRemotes
|
||||
<$> getDaemonStatus dstatus
|
||||
r <- headMaybe . filter (sameuuid t)
|
||||
<$> runThreadState st Remote.remoteList
|
||||
updateTransferInfo dstatus t info
|
||||
{ transferRemote = r }
|
||||
sameuuid t r = Remote.uuid r == transferUUID t
|
||||
|
|
|
@ -8,9 +8,6 @@ The webapp is a web server that displays a shiny interface.
|
|||
This is quite likely because of how the div containing transfers is refereshed.
|
||||
If instead javascript was used to update the progress bar etc for transfers
|
||||
with json data, the buttons would work better.
|
||||
* Transfers from a remote with syncing disabled show as from "unknown".
|
||||
(Note that it's probably not practical to prevent a remote with syncing
|
||||
disabled from initiating transfers, so this can happen.)
|
||||
|
||||
## interface
|
||||
|
||||
|
|
Loading…
Reference in a new issue