diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/content/monitoring/FinishedExam.java b/src/main/java/ch/ethz/seb/sebserver/gui/content/monitoring/FinishedExam.java index 0ee2f04b..90f56f21 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/content/monitoring/FinishedExam.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/content/monitoring/FinishedExam.java @@ -202,7 +202,7 @@ public class FinishedExam implements TemplateComposer { .newAction(ActionDefinition.FINISHED_EXAM_EXPORT_CSV) .withEntityKey(examKey) .withExec(this::exportCSV) - .ignoreMoveAwayFromEdit() + .noEventPropagation() .publish(); } diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/content/monitoring/FinishedExamClientConnection.java b/src/main/java/ch/ethz/seb/sebserver/gui/content/monitoring/FinishedExamClientConnection.java index 9cdeafb4..3dadf1cf 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/content/monitoring/FinishedExamClientConnection.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/content/monitoring/FinishedExamClientConnection.java @@ -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) {