allow disabling syncing to a repo on its edit form
This is not quite right yet, since it disables it so hard it doesn't show up in the repo list anymore!
This commit is contained in:
parent
80b3952930
commit
5b9900133c
4 changed files with 62 additions and 9 deletions
|
@ -166,7 +166,7 @@ postCancelTransferR t = cancelTransfer False t
|
|||
pauseTransfer :: Transfer -> Handler ()
|
||||
pauseTransfer = cancelTransfer True
|
||||
|
||||
cancelTransfer :: Bool -> Transfer-> Handler ()
|
||||
cancelTransfer :: Bool -> Transfer -> Handler ()
|
||||
cancelTransfer pause t = do
|
||||
webapp <- getYesod
|
||||
let dstatus = daemonStatus webapp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue