If there is a shift with participants and the teamleader is a substitute teamleader, when a new person is approved (or requests and is automatically approved) that can serve as teamleader, this person should then be the teamleader for that team.
Check that this works and fix if needed.
If there is a shift with participants and the teamleader is a substitute teamleader, when a new person is approved (or requests and is automatically approved) that can serve as teamleader, this person should then be the teamleader for that team. Check that this works and fix if needed.