diff --git a/BuildFeed/Controllers/frontController.cs b/BuildFeed/Controllers/frontController.cs index 5dde618..cb1d116 100644 --- a/BuildFeed/Controllers/frontController.cs +++ b/BuildFeed/Controllers/frontController.cs @@ -254,7 +254,15 @@ public async Task viewVersionPage(int major, int minor, int page) } [Route("add/"), Authorize] - public ActionResult addBuild() { return View("editBuild"); } + public ActionResult addBuild() + { + BuildModel b = new BuildModel() + { + SourceType = TypeOfSource.PrivateLeak, + FlightLevel = LevelOfFlight.None + }; + return View("editBuild", b); + } [Route("add/"), Authorize, HttpPost] public async Task addBuild(BuildModel build)