Fix CustomErrorsCheck so that success message can contain "On" as well as "RemoteOnly" as it's also a success value

This commit is contained in:
Jeavon
2017-08-10 11:41:19 +01:00
parent d7d6b7f128
commit d1109fb9ad

View File

@@ -49,7 +49,7 @@ namespace Umbraco.Web.HealthCheck.Checks.Config
get
{
return _textService.Localize("healthcheck/customErrorsCheckSuccessMessage",
new[] { Values.First(v => v.IsRecommended).Value });
new[] { CurrentValue });
}
}