Skip to content

Commit

Permalink
Course Timetabling Solver: Clear
Browse files Browse the repository at this point in the history
- added Clear button for the course timetabling solver
  • Loading branch information
tomas-muller committed Oct 14, 2024
1 parent b393208 commit 596174d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,7 @@ else if (!solver.isWorking()) {
response.setCanExecute(SolverOperation.RESTORE_BEST);
switch (request.getType()) {
case COURSE:
response.setCanExecute(SolverOperation.CLEAR);
Long[] owners = solver.getProperties().getPropertyLongArry("General.SolverGroupId", null);
if (context.hasPermission(owners, "SolverGroup", Right.SolverSolutionExportCsv))
response.setCanExecute(SolverOperation.EXPORT_CSV);
Expand Down

0 comments on commit 596174d

Please sign in to comment.