Always show the command_details button for commands
When a command is active we should be able to click the button in the
activity sidebar to see it's status.
@@ -318,19 +318,15 @@ fn alert_item_view(
empty![]
}
],
- if let Some(end) = alert.end.as_ref() {
- vec![
div![
class![C.row_span_1, C.col_span_2, C.whitespace_no_wrap],
- "Ended",
- " ",
- date_view(sd, end)
- ],
- command_details_button(alert),
- ]
+ if let Some(end) = alert.end.as_ref() {
+ span!["Ended ", date_view(sd, end)]
} else {
- vec![]
+ empty![]
}
+ ],
+ command_details_button(alert),
]
}
