diff --git a/dashboard/src/ui/widgets/system.rs b/dashboard/src/ui/widgets/system.rs index c3793a3..18f0800 100644 --- a/dashboard/src/ui/widgets/system.rs +++ b/dashboard/src/ui/widgets/system.rs @@ -422,16 +422,11 @@ impl SystemWidget { Span::styled("NixOS:", Typography::widget_title()) ])); - let build_text = self.nixos_build.as_deref().unwrap_or("unknown"); - lines.push(Line::from(vec![ - Span::styled(format!("Build: {}", build_text), Typography::secondary()) - ])); - let config_text = self.config_hash.as_deref().unwrap_or("unknown"); lines.push(Line::from(vec![ - Span::styled(format!("Config: {}", config_text), Typography::secondary()) + Span::styled(format!("Build: {}", config_text), Typography::secondary()) ])); - + let agent_hash_text = self.agent_hash.as_deref().unwrap_or("unknown"); let short_hash = if agent_hash_text.len() > 8 && agent_hash_text != "unknown" { &agent_hash_text[..8]