From 494e40d3d936545e0a225f9ed752e934baef8ffb Mon Sep 17 00:00:00 2001 From: Stephan Krusche Date: Sun, 13 Oct 2024 21:50:23 +0200 Subject: [PATCH] Do not show request feedback if it was not enabled --- .../request-feedback-button.component.html | 2 +- .../request-feedback-button.component.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 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) {