From c1065cd0f2093428cd5d049d5ce445b20798b492 Mon Sep 17 00:00:00 2001 From: "Ajayvir S." Date: Thu, 9 Jan 2025 21:46:39 +0100 Subject: [PATCH] update disabled state of button --- .../plagiarism-header.component.html | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/app/exercises/shared/plagiarism/plagiarism-header/plagiarism-header.component.html b/src/main/webapp/app/exercises/shared/plagiarism/plagiarism-header/plagiarism-header.component.html index 1fc2c3ac1157..6976eaeadbc7 100644 --- a/src/main/webapp/app/exercises/shared/plagiarism/plagiarism-header/plagiarism-header.component.html +++ b/src/main/webapp/app/exercises/shared/plagiarism/plagiarism-header/plagiarism-header.component.html @@ -7,24 +7,31 @@
- @if (comparison.status !== plagiarismStatus.CONFIRMED && !isLoading && !exercise.teamMode) { - - } @else { + @if (comparison.status === plagiarismStatus.CONFIRMED) { + } @else { + }