summaryrefslogtreecommitdiff
path: root/Assistant/Threads/WebApp.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Assistant/Threads/WebApp.hs')
-rw-r--r--Assistant/Threads/WebApp.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Assistant/Threads/WebApp.hs b/Assistant/Threads/WebApp.hs
index 40f8300e5..7ad40c307 100644
--- a/Assistant/Threads/WebApp.hs
+++ b/Assistant/Threads/WebApp.hs
@@ -27,6 +27,7 @@ import Utility.DataUnits
import Types.Key
import qualified Remote
import Logs.Web (webUUID)
+import Logs.Trust
import Annex.UUID (getUUID)
import Yesod
@@ -173,7 +174,8 @@ introDisplay ident = do
remotelist <- liftIO $ runThreadState (threadState webapp) $ do
u <- getUUID
rs <- map Remote.uuid <$> Remote.remoteList
- Remote.prettyListUUIDs $ filter (/= webUUID) $ nub $ u:rs
+ rs' <- snd <$> trustPartition DeadTrusted rs
+ Remote.prettyListUUIDs $ filter (/= webUUID) $ nub $ u:rs'
let n = length remotelist
let numrepos = show n
let notenough = n < 2