Skip to content

Commit 732b587

Browse files
committed
✨ Dipslay seedNumber
1 parent bffd116 commit 732b587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/src/views/Plant.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div class="plant-view">
33
<h1 v-html="$t('plant.title')"></h1>
4-
<p>{{ seedNumber }} <span v-if="seedNumber <= 1" v-html="$t('plant.seedText')"></span><span v-else v-html="$t('plant.seedsText')"></span></p>
4+
<p>\{{ seedNumber }} <span v-if="seedNumber <= 1" v-html="$t('plant.seedText')"></span><span v-else v-html="$t('plant.seedsText')"></span></p>
55
<button @click='plant' :disabled="seedNumber <= minSeed">-</button>
66
<button @click='pullUp' :disabled="seedNumber >= maxSeed">+</button>
77
</div>

0 commit comments

Comments
 (0)