Close to the ui final version
This commit is contained in:
parent
d614ec4d18
commit
b130c4550d
9 changed files with 46 additions and 69 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use crate::core::models::{UnifiedData, UnifiedMonitorData};
|
||||
use crate::core::models::UnifiedData;
|
||||
use crate::data::heartbeat::model::HeartbeatEntry;
|
||||
use crate::i18n::t;
|
||||
|
||||
|
|
@ -96,10 +96,6 @@ impl DashboardViewState {
|
|||
error_message: None,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn get_selected_monitor(&self) -> Option<&MonitorViewState> {
|
||||
self.monitors.get(self.selected_index)
|
||||
}
|
||||
}
|
||||
|
||||
fn get_status_history(heartbeats: &[HeartbeatEntry]) -> Vec<MonitorStatus> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue