diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 70a19af..3ee8e21 100644 --- a/src/main.rs +++ b/src/main.rs @@ -60,7 +60,7 @@ fn render_message(message: &str, units: &[unit::Unit]) -> String { : "Unit" } th { - : "Type" + : "Active" } } @ for unit in units { @@ -69,7 +69,9 @@ fn render_message(message: &str, units: &[unit::Unit]) -> String { : &unit.name } td { - : &unit.type_ + : format_args!("{} ({})", + &unit.active_state, + &unit.sub_state) } } } |