SnailyCAD / snaily-cadv4

💻 An open source Computer Aided Dispatch (CAD) for FiveM, this is a web based integration for communities who love police roleplaying and dispatching. Discord: https://discord.gg/eGnrPqEH7U
https://docs.snailycad.org/docs/getting-started
MIT License
140 stars 84 forks source link

Filter available officer ranks per Department #1731

Closed bartusek27 closed 1 year ago

bartusek27 commented 1 year ago

Describe the feature

When you edit officer/deputy unit, you can assign them a rank defined in officer-ranks. But you can see all of them in the dropdown even if you have defined a department for them. Similarly as you filter in dropdown the divisions based on selected department, you should also show only ranks that are specific for selected department.

Additional Context

No response