diff options
Diffstat (limited to 'server/src/routes/ui/stats.rs')
-rw-r--r-- | server/src/routes/ui/stats.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/routes/ui/stats.rs b/server/src/routes/ui/stats.rs index 6a3d1d2..4e4eef1 100644 --- a/server/src/routes/ui/stats.rs +++ b/server/src/routes/ui/stats.rs @@ -40,7 +40,7 @@ pub fn r_stats( ) -> Result<Either<DynLayoutPage<'_>, Json<Value>>, MyError> { let AcceptLanguage(lang) = lang; let mut items = db.list_nodes_with_udata(sess.user.name.as_str())?; - items.retain(|(n, _)| matches!(n.visibility, Visibility::Visible)); + items.retain(|(n, _)| n.visibility >= Visibility::Reduced); #[derive(Default, Serialize)] struct Bin { |