dont show external boat
All checks were successful
CI/CD Pipeline / test (push) Successful in 12m9s
CI/CD Pipeline / deploy-staging (push) Successful in 5m35s
CI/CD Pipeline / deploy-main (push) Has been skipped

This commit is contained in:
philipp 2024-04-13 09:44:22 +02:00
parent cfc35fbec6
commit 74d3957cf8

View File

@ -28,7 +28,9 @@ async fn index(
let mut final_boats = Vec::new();
for boat in boats {
if boat.boat.boathouse(db).await.is_none() {
final_boats.push(boat);
if boat.boat.name != "Externes Boot" {
final_boats.push(boat);
}
}
}