dont show external boat

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);
}
}
}