YAAMSOrg / yaams-server

Yet Another Airline Management System
BSD 3-Clause "New" or "Revised" License
2 stars 5 forks source link

Fleet: Use active airline from session rather from hidden field #28

Closed flymia closed 3 months ago

flymia commented 3 months ago

When adding or editing an aircraft, we use the current airline ID from the blade template. This is not a nice way of determining the active airline.

We need to append the current airline id from the session variable to the validated array.

Maybe using this approach:

flymia commented 3 months ago

For Fleet this is fixed in #30 - I will close this here, since this is only relevant as of now for the fleet overview.