diff --git a/src/ClientApp/src/components/NavMenu.js b/src/ClientApp/src/components/NavMenu.js index 317fb31..a88480d 100644 --- a/src/ClientApp/src/components/NavMenu.js +++ b/src/ClientApp/src/components/NavMenu.js @@ -57,7 +57,7 @@ export class NavMenu extends Component { rx="100%" fill="#1B1817" /> - Github + GitHub
  • diff --git a/src/Controllers/HomeController.cs b/src/Controllers/HomeController.cs index cce6d1e..aea8e81 100644 --- a/src/Controllers/HomeController.cs +++ b/src/Controllers/HomeController.cs @@ -87,7 +87,7 @@ Get project: result.Append(GetHorizontalBorder(fieldWidths)); foreach (var dep in dependencies) { - result.Append(GetRow(dep.Name, dep.Description.Replace("Steeltoe: ", ""), fieldWidths)); + result.Append(GetRow(dep.Name, dep.Description.Replace("Steeltoe: ", string.Empty), fieldWidths)); } result.Append(GetHorizontalBorder(fieldWidths)); diff --git a/src/Controllers/TemplatesController.cs b/src/Controllers/TemplatesController.cs index 71ead35..665ad00 100644 --- a/src/Controllers/TemplatesController.cs +++ b/src/Controllers/TemplatesController.cs @@ -49,7 +49,7 @@ namespace Steeltoe.Initializr.Controllers [HttpGet] public Task GenerateProjectGet([FromQuery] GeneratorModel model) { - return GenerateProject(model); + return GenerateProject(model); } [Route("dependencies")] @@ -82,7 +82,14 @@ namespace Steeltoe.Initializr.Controllers catch (Exception ex) { HttpContext.Response.StatusCode = (int)HttpStatusCode.BadRequest; - return Content(ex.Message); + + var message = ex.Message; + if (model.TargetFrameworkVersion == "netcoreapp3.1" && model.SteeltoeVersion == "2.3.0") + { + message = "2.4.0 is the lowest version of Steeltoe that works with netcoreapp3.1\n"; + } + + return Content(message); } } }