dont show external boat
This commit is contained in:
parent
cfc35fbec6
commit
74d3957cf8
@ -28,9 +28,11 @@ async fn index(
|
||||
let mut final_boats = Vec::new();
|
||||
for boat in boats {
|
||||
if boat.boat.boathouse(db).await.is_none() {
|
||||
if boat.boat.name != "Externes Boot" {
|
||||
final_boats.push(boat);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
context.insert("boats", &final_boats);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user