diff --git a/frontend/src/common.rs b/frontend/src/common.rs index d8d00b9..4e47930 100644 --- a/frontend/src/common.rs +++ b/frontend/src/common.rs @@ -601,7 +601,7 @@ pub fn view_chart( C!["has-text-centered"], C!["mb-4"], "No data.".to_string(), - ] } else { div![] }, + ] } else { empty![] }, Some(value) => div![ C!["container"], C!["has-text-centered"],