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