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)
.withEntityKey(examKey)
.withExec(this::exportCSV)
.ignoreMoveAwayFromEdit()
.noEventPropagation()
.publish();
}

View file

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