diff --git a/backend/api/Services/RobotService.cs b/backend/api/Services/RobotService.cs index f2112d4fb..8ae3474fc 100644 --- a/backend/api/Services/RobotService.cs +++ b/backend/api/Services/RobotService.cs @@ -138,7 +138,9 @@ public async Task> ReadLocalizedRobotsForInstallation(string instal { return await GetRobotsWithSubModels() .Where(robot => - robot.CurrentInstallation.Equals(installationCode) +#pragma warning disable CA1304 + robot.CurrentInstallation.ToLower().Equals(installationCode.ToLower()) +#pragma warning restore CA1304 && robot.CurrentArea != null) .ToListAsync(); }