Skip to content

Commit

Permalink
Fix displaying zero answer
Browse files Browse the repository at this point in the history
  • Loading branch information
jarosan committed Mar 4, 2024
1 parent 6124739 commit 6c8803f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MathQuestion.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
=
</div>

<div class="border-2 border-neutral-600 min-w-[70px] rounded bg-white">{{ answer || '&nbsp;' }}</div>
<div class="border-2 border-neutral-600 min-w-[70px] rounded bg-white">{{ answer === '' ? '&nbsp;' : answer }}</div>
<SvgIcon v-if="!alreadyAnswered" :path="mdiBackspaceOutline" :size="24" class="cursor-pointer" @click="clearAnswer"/>
</div>

Expand Down

0 comments on commit 6c8803f

Please sign in to comment.