Radish alpha
r
rad:z4D5UCArafTzTQpDZNQRuqswh3ury
Radicle desktop app
Radicle
Git
radicle-types: Skip over invalid sigrefs
Lorenz Leutgeb committed 1 month ago
commit d9300c5cb9075953ad2b0e59343cc9644ece452c
parent cd9e0be
1 file changed +2 -2
modified crates/radicle-types/src/traits/repo.rs
@@ -41,7 +41,7 @@ pub trait Repo: Profile {
        let mut entries = Vec::new();

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

@@ -124,7 +124,7 @@ pub trait Repo: Profile {
                delegate += 1;
            }

-
            if refs.is_some() {
+
            if refs.is_ok() {
                contributor += 1;
            }
        }