diff --git a/Yavsc/Controllers/CommandController.cs b/Yavsc/Controllers/CommandController.cs index 84fc5980..947e1b77 100644 --- a/Yavsc/Controllers/CommandController.cs +++ b/Yavsc/Controllers/CommandController.cs @@ -189,6 +189,7 @@ namespace Yavsc.Controllers ViewBag.GoogleSettings = _googleSettings; return View("CommandConfirmation",command); } + ViewBag.Activity = _context.Activities.FirstOrDefault(a=>a.Code == command.ActivityCode); ViewBag.GoogleSettings = _googleSettings; return View(command); }