fix: output looks strange when teh committee value is 0

This commit is contained in:
silver 2025-03-14 04:59:31 +00:00
parent a907243986
commit 7f7e7ac598
Signed by untrusted user: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -118,7 +118,7 @@ pub mod servers {
// treat teh committee server as its own thing
let committee_current = get_wolves_committee(&db).await;
cs.push((committee_current, 0, String::from("Committee Server")));
cs.push((committee_current, committee_current, String::from("Committee Server")));
cs.sort_by_key(|(current, _, _)| *current);
cs.reverse();