From 45a18f8b33a3418aca85b592ad9683cafc38a111 Mon Sep 17 00:00:00 2001 From: Stephan Krusche Date: Sun, 13 Oct 2024 23:21:55 +0200 Subject: [PATCH] Programming exercises: Do not always show the request feedback button in the online code editor (#9475) --- .../request-feedback-button.component.html | 2 +- .../request-feedback-button.component.ts | 4 ++-- .../request-feedback-button.component.spec.ts | 16 ++++++++-------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/main/webapp/app/overview/exercise-details/request-feedback-button/request-feedback-button.component.html b/src/main/webapp/app/overview/exercise-details/request-feedback-button/request-feedback-button.component.html index 6d6addcc2b84..69310708cac3 100644 --- a/src/main/webapp/app/overview/exercise-details/request-feedback-button/request-feedback-button.component.html +++ b/src/main/webapp/app/overview/exercise-details/request-feedback-button/request-feedback-button.component.html @@ -1,4 +1,4 @@ -@if (!isExamExercise) { +@if (!isExamExercise && requestFeedbackEnabled) { @if (athenaEnabled) { @if (exercise().type === ExerciseType.TEXT) {