webapp: Remove the "disable remote" feature from the UI.
It's confusing, easy to select by accident and get into a situation the webapp offers no easy recovery from, and pausing syncing works just as well in most situations.
This commit is contained in:
parent
d3af2bd64f
commit
3058e11520
5 changed files with 20 additions and 9 deletions
|
@ -47,11 +47,6 @@ handleXMPPRemoval uuid nonxmpp = do
|
|||
then deletionPage $ $(widgetFile "configurators/delete/xmpp")
|
||||
else nonxmpp
|
||||
|
||||
getDisableRepositoryR :: UUID -> Handler Html
|
||||
getDisableRepositoryR uuid = notCurrentRepo uuid $ handleXMPPRemoval uuid $ do
|
||||
void $ liftAssistant $ disableRemote uuid
|
||||
redirect DashboardR
|
||||
|
||||
getDeleteRepositoryR :: UUID -> Handler Html
|
||||
getDeleteRepositoryR uuid = notCurrentRepo uuid $ handleXMPPRemoval uuid $ do
|
||||
deletionPage $ do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue