summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Trial.vue11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/components/Trial.vue b/src/components/Trial.vue
index b400797..f1e79c4 100644
--- a/src/components/Trial.vue
+++ b/src/components/Trial.vue
@@ -1,9 +1,12 @@
<template>
<td v-for="i in length" :key="i">
- <div class="letter" v-bind:class="{
- correct: colors[i-1]===2,
- wrongPosition: colors[i-1]===1
- }">
+ <div
+ class="letter"
+ v-bind:class="{
+ correct: colors[i - 1] === 2,
+ wrongPosition: colors[i - 1] === 1,
+ }"
+ >
{{ trial[i - 1] ? trial[i - 1] : "&nbsp;" }}
</div>
</td>