webapp: Avoid confusing display of dead remotes.
This commit is contained in:
parent
a261a05c15
commit
dd260706af
3 changed files with 28 additions and 1 deletions
|
@ -138,7 +138,10 @@ repoList reposelector
|
|||
liftAnnex $ do
|
||||
unwanted <- S.fromList
|
||||
<$> filterM inUnwantedGroup (map Remote.uuid syncremotes)
|
||||
rs <- filter selectedrepo . concat . Remote.byCost
|
||||
trustmap <- trustMap
|
||||
rs <- filter (\r -> M.lookup (Remote.uuid r) trustmap /= Just DeadTrusted)
|
||||
. filter selectedrepo
|
||||
. concat . Remote.byCost
|
||||
<$> Remote.remoteList
|
||||
let l = flip map (map mkRepoId rs) $ \r -> case r of
|
||||
(RepoUUID u)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue