fix: re-define completed for self-evaluation

we define completed as at-least one evaluation was clicked.

This commit is contained in:
Livio Bieri 2024-03-21 14:03:57 +01:00
parent 6a787fc44b
commit 3573a6f54b
1 changed files with 5 additions and 2 deletions

View File

@ -41,7 +41,6 @@ const someFinished = computed(() => {
if (props.learningSequence) {
return someFinishedInLearningSequence(props.learningSequence);
}
return false;
});
@ -235,7 +234,11 @@ type LearninContentWithCompetenceCertificate =
: 'no-status'
"
>
<CompletionStatus />
<CompletionStatus
:completed="
performanceCriteriaHasStatus(learningUnit.performance_criteria)
"
/>
{{ $t("a.Selbsteinschätzung") }}
</div>