Sets button text to show default fetch amount even if the number input is empty.
This commit is contained in:
parent
ca83a1750f
commit
efe184c3d4
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@
|
||||||
<input type="number" v-model="count" placeholder="How Many?">
|
<input type="number" v-model="count" placeholder="How Many?">
|
||||||
</div>
|
</div>
|
||||||
<div id="submit-button" v-if="button_type && duration">
|
<div id="submit-button" v-if="button_type && duration">
|
||||||
<button @click="get_data()">Get Top {{count > 1 ? count : ``}} {{button_type}}</button>
|
<button @click="get_data()">Get Top {{count > 1 ? count : `10`}} {{button_type}}</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-row error" v-if="error.main">{{error.main}}</div>
|
<div class="flex-row error" v-if="error.main">{{error.main}}</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue