diff --git a/DataImport.Web/Features/ApiServers/AddEditApiServer.cshtml b/DataImport.Web/Features/ApiServers/AddEditApiServer.cshtml index 61e35f1..d9e6267 100644 --- a/DataImport.Web/Features/ApiServers/AddEditApiServer.cshtml +++ b/DataImport.Web/Features/ApiServers/AddEditApiServer.cshtml @@ -11,7 +11,7 @@ See the LICENSE and NOTICES files in the project root for more information. @{ ViewBag.Title = (!@Model.Id.HasValue ? "Add" : "Edit") + " API Connection"; var hidden = string.IsNullOrEmpty(Model.ApiVersion) ? "hidden=true" : ""; - var hiddenForApiVersionSeven = string.IsNullOrEmpty(Model.ApiVersion) || Model.ApiVersion != "7.1" ? "hidden=true" : ""; + var hiddenForApiVersionSeven = string.IsNullOrEmpty(Model.ApiVersion) || Model.ApiVersion.Substring(0, 2) != "7." ? "hidden=true" : ""; }