Skip to content

Commit

Permalink
Hide score definition if requirement assessment is not scored
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche committed Apr 26, 2024
1 parent 47bd1ce commit 2d12d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/components/Forms/Score.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
>
<p class="text-sm text-gray-500">{m.scoringHelpText()}</p></SlideToggle
>
{#if score_definition && $value !== null}
{#if $isScored && score_definition && $value !== null}
{#each score_definition as definition}
{#if definition.score === $value}
<p class="w-full max-w-[80ch]">
Expand Down

0 comments on commit 2d12d5d

Please sign in to comment.