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:
Torsten Schulz (local)
2026-01-28 16:47:57 +01:00
parent afc36161ed
commit f102069f5a

View File

@@ -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({ availablePositions.push({
id: officeType.id, // Verwende officeTypeId als ID für die Frontend-Identifikation id: officeType.id, // Verwende officeTypeId als ID für die Frontend-Identifikation
officeType: { officeType: {