Skip to content

Commit

Permalink
Merge pull request #1780 from pkuehnel/fix/carBasicConfigValidLegacySX
Browse files Browse the repository at this point in the history
fix(CarBasicConfigurationValidator): do not show PLease disable on already disabled error
  • Loading branch information
pkuehnel authored Jan 26, 2025
2 parents ad5fa5f + d073118 commit 45161ed
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ public CarBasicConfigurationValidator(IConfigurationWrapper configurationWrapper
.FirstOrDefaultAsync();
if (isCarFleetTelemetryHardwareIncompatible)
{
context.AddFailure("The selected car is not compatible with Fleet Telemetry. Please disable Fleet Telemetry.");
if (fleetTelemetryEnabled)
{
context.AddFailure("The selected car is not compatible with Fleet Telemetry. Please disable Fleet Telemetry.");
}
}
else if (fleetTelemetryEnabled != true)
{
Expand Down

0 comments on commit 45161ed

Please sign in to comment.