animalaidunlimited / apoms

2 stars 0 forks source link

Auto-assign dispatcher #123

Open sqljim opened 3 years ago

sqljim commented 3 years ago

If the current user of the Emergency Register has the Dispatcher job role then this should automatically be set when a new case is loaded.

We should be able to do this by waiting until the dropdown has loaded and then checking the values to see if the names match with the username. The issue is that the dropdown currently shows the first name of the dispatcher and not the username, so if there's a difference between the first name and the username this could cause issues.