use "the web" page for bittorrent too
This commit is contained in:
parent
7e422269a6
commit
058956b841
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ postEditNewCloudRepositoryR uuid = connectionNeeded >> editForm True (RepoUUID u
|
|||
|
||||
editForm :: Bool -> RepoId -> Handler Html
|
||||
editForm new (RepoUUID uuid)
|
||||
| uuid == webUUID = page "The web" (Just Configuration) $ do
|
||||
| uuid == webUUID || uuid == bitTorrentUUID = page "The web" (Just Configuration) $ do
|
||||
$(widgetFile "configurators/edit/webrepository")
|
||||
| otherwise = page "Edit repository" (Just Configuration) $ do
|
||||
mremote <- liftAnnex $ Remote.remoteFromUUID uuid
|
||||
|
|
Loading…
Reference in a new issue