fixes command creation when form was invalid

vnext
Paul Schneider 8 years ago
parent 7236554232
commit 7158923e78
1 changed files with 1 additions and 0 deletions

@ -189,6 +189,7 @@ namespace Yavsc.Controllers
ViewBag.GoogleSettings = _googleSettings; ViewBag.GoogleSettings = _googleSettings;
return View("CommandConfirmation",command); return View("CommandConfirmation",command);
} }
ViewBag.Activity = _context.Activities.FirstOrDefault(a=>a.Code == command.ActivityCode);
ViewBag.GoogleSettings = _googleSettings; ViewBag.GoogleSettings = _googleSettings;
return View(command); return View(command);
} }

Loading…