Remove unused supervisor assignment in FalukantService: Clean up code by eliminating the conditional block that sets the supervisor object, streamlining the availablePositions logic.
This commit is contained in:
@@ -5034,13 +5034,6 @@ class FalukantService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
if (supervisorOffice && supervisorOffice.holder) {
|
||||
supervisor = {
|
||||
id: supervisorOffice.holder.id,
|
||||
name: 'Supervisor' // Wird später geladen falls nötig
|
||||
};
|
||||
}
|
||||
|
||||
availablePositions.push({
|
||||
id: officeType.id, // Verwende officeTypeId als ID für die Frontend-Identifikation
|
||||
officeType: {
|
||||
|
||||
Reference in New Issue
Block a user