mongodb on backend

This commit is contained in:
2025-07-14 12:40:14 +02:00
parent 9ec2b535b8
commit 2da5c1e9e2
7 changed files with 1419 additions and 68 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ pub fn ServerComponent(server: Server) -> Element {
fn get_level(i: u8) -> String {
if i > 80 {
String::from("high")
} else if i > 30 {
} else if i > 50 {
String::from("medium")
} else {
String::from("low")