fixes command creation when form was invalid
This commit is contained in:
parent
b4436e5c06
commit
a9616f2c90
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…
Add table
Add a link
Reference in a new issue