cm-dashboard/shared/Cargo.toml
Christoffer Martinsson c3fc5a181d
All checks were successful
Build and Release / build-and-release (push) Successful in 1m12s
Fix service name mismatch in pending transitions lookup
The root cause of transitional service icons not showing was that service names
were stored as raw names (e.g., "sshd") in pending_transitions but looked up
against formatted display lines (e.g., "sshd                    active     1M     ").

Changes:
- Modified display_lines structure to include both formatted text and raw service names
- Updated rendering loop to use raw service names for pending transition lookups
- Fixed get_selected_service() method to use the new tuple structure
- Transitional icons (↑ ↓ ↻) should now appear correctly when pressing s/S/r keys
2025-10-28 15:00:48 +01:00

10 lines
216 B
TOML

[package]
name = "cm-dashboard-shared"
version = "0.1.28"
edition = "2021"
[dependencies]
serde = { workspace = true }
serde_json = { workspace = true }
chrono = { workspace = true }
thiserror = { workspace = true }