diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2023-02-03 15:09:34 +0100 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2023-02-03 15:09:34 +0100 |
commit | 548995816c5870d536f8f204e47fdcfa716f0fcb (patch) | |
tree | 415c410bae7d41409e43bfc5262b9349ce6c28f2 /src/components/Trial.vue | |
parent | 47640e3ace730dccb5a654cf720db2ebfb88b9a2 (diff) | |
download | wordle-frontend-548995816c5870d536f8f204e47fdcfa716f0fcb.tar.xz |
make linter happyrebuild-with-vue
Diffstat (limited to 'src/components/Trial.vue')
-rw-r--r-- | src/components/Trial.vue | 11 |
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] : " " }} </div> </td> |