SEBSERV-358

This commit is contained in:
anhefti 2022-10-27 08:55:03 +02:00
parent f4bbdad2e7
commit fa23debf4c
2 changed files with 7 additions and 8 deletions

View file

@ -202,7 +202,7 @@ public class FinishedExam implements TemplateComposer {
.newAction(ActionDefinition.FINISHED_EXAM_EXPORT_CSV) .newAction(ActionDefinition.FINISHED_EXAM_EXPORT_CSV)
.withEntityKey(examKey) .withEntityKey(examKey)
.withExec(this::exportCSV) .withExec(this::exportCSV)
.ignoreMoveAwayFromEdit() .noEventPropagation()
.publish(); .publish();
} }

View file

@ -281,16 +281,15 @@ public class FinishedExamClientConnection implements TemplateComposer {
.compose(pageContext.copyOf(content)); .compose(pageContext.copyOf(content));
actionBuilder actionBuilder
.newAction(ActionDefinition.FINISHED_EXAM_BACK_TO_OVERVIEW)
.withEntityKey(parentEntityKey)
.publishIf(isExamSupporter)
.newAction(ActionDefinition.FINISHED_EXAM_CLIENT_EXPORT_CSV) .newAction(ActionDefinition.FINISHED_EXAM_CLIENT_EXPORT_CSV)
.withEntityKey(entityKey) .withEntityKey(entityKey)
.withExec(this::exportCSV) .withExec(this::exportCSV)
.ignoreMoveAwayFromEdit() .noEventPropagation()
.publish(); .publishIf(isExamSupporter)
;
.newAction(ActionDefinition.FINISHED_EXAM_BACK_TO_OVERVIEW)
.withEntityKey(parentEntityKey)
.publishIf(isExamSupporter);
} }
private String getClientTime(final ClientEvent event) { private String getClientTime(final ClientEvent event) {