Skip to content

Commit 6581497

Browse files
author
Marcel Charrette
committed
Adding EnableEdit to ViewBag in JobController
1 parent 26c4999 commit 6581497

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/SilkierQuartz/Controllers/JobsController.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ public async Task<IActionResult> New()
5959
job.Group = SchedulerConstants.DefaultGroup;
6060
job.TypeList = Services.Cache.JobTypes;
6161

62+
ViewBag.EnableEdit = EnableEdit;
63+
6264
return View("Edit", new JobViewModel() { Job = job, DataMap = jobDataMap });
6365
}
6466

0 commit comments

Comments
 (0)