Radish alpha
r
rad:z4D5UCArafTzTQpDZNQRuqswh3ury
Radicle desktop app
Radicle
Git
fix: show all repos if specified
Archived did:key:z6MkgFWv...1Lu7 opened 1 year ago

The conditional was skipping repositories that didn’t have own refs if Show::All was specified. I assume the opposite is the intended behavior.

1 file changed +1 -1 9235f186 aac5a2f7
modified crates/radicle-types/src/traits/repo.rs
@@ -34,7 +34,7 @@ pub trait Repo: Profile {
        let mut entries = Vec::new();

        for RepositoryInfo { rid, doc, refs, .. } in repos {
-
            if refs.is_none() && show == Show::All {
+
            if refs.is_none() && show != Show::All {
                continue;
            }