Skip to content

Commit

Permalink
✨ Dipslay seedNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrechls committed Feb 22, 2017
1 parent bffd116 commit 732b587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/src/views/Plant.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="plant-view">
<h1 v-html="$t('plant.title')"></h1>
<p>{{ seedNumber }} <span v-if="seedNumber <= 1" v-html="$t('plant.seedText')"></span><span v-else v-html="$t('plant.seedsText')"></span></p>
<p>\{{ seedNumber }} <span v-if="seedNumber <= 1" v-html="$t('plant.seedText')"></span><span v-else v-html="$t('plant.seedsText')"></span></p>
<button @click='plant' :disabled="seedNumber <= minSeed">-</button>
<button @click='pullUp' :disabled="seedNumber >= maxSeed">+</button>
</div>
Expand Down

0 comments on commit 732b587

Please sign in to comment.