From 47e0cafa65a2d5c5cd0501e9c5cf6ccc4a3586d5 Mon Sep 17 00:00:00 2001 From: anhefti Date: Mon, 24 Apr 2023 08:37:51 +0200 Subject: [PATCH] SEBSERV-437 --- .../ethz/seb/sebserver/gui/content/exam/ExamTemplateForm.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/content/exam/ExamTemplateForm.java b/src/main/java/ch/ethz/seb/sebserver/gui/content/exam/ExamTemplateForm.java index 23972795..67579f65 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/content/exam/ExamTemplateForm.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/content/exam/ExamTemplateForm.java @@ -386,7 +386,7 @@ public class ExamTemplateForm implements TemplateComposer { .newAction(ActionDefinition.CLIENT_GROUP_TEMPLATE_MODIFY_FROM_LIST) .withParentEntityKey(entityKey) .withSelect( - indicatorTable::getMultiSelection, + clientGroupTable::getMultiSelection, PageAction::applySingleSelectionAsEntityKey, CLIENT_GROUP_EMPTY_SELECTION_TEXT_KEY) .publishIf(() -> userGrantCheck.m() && clientGroupTable.hasAnyContent(), false) @@ -394,7 +394,7 @@ public class ExamTemplateForm implements TemplateComposer { .newAction(ActionDefinition.CLIENT_GROUP_TEMPLATE_DELETE_FROM_LIST) .withEntityKey(entityKey) .withSelect( - indicatorTable::getMultiSelection, + clientGroupTable::getMultiSelection, this::deleteSelectedClientGroup, CLIENT_GROUP_EMPTY_SELECTION_TEXT_KEY) .publishIf(() -> userGrantCheck.m() && clientGroupTable.hasAnyContent(), false)