no special treatment for 'externes boot'
This commit is contained in:
@ -27,7 +27,7 @@ async fn index(
|
||||
let boats = Boat::all_for_boatshouse(db).await;
|
||||
let mut final_boats = Vec::new();
|
||||
for boat in boats {
|
||||
if boat.boat.boathouse(db).await.is_none() && boat.boat.name != "Externes Boot" {
|
||||
if boat.boat.boathouse(db).await.is_none() && !boat.boat.external {
|
||||
final_boats.push(boat);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user