Don't disable the task add button if input is empty

This commit is contained in:
kolaente 2020-06-25 21:02:46 +02:00
parent 46179bf51e
commit 2a0632aa51
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -64,7 +64,7 @@
</span> </span>
</p> </p>
<p class="control"> <p class="control">
<button class="button is-success" :disabled="newTaskText.length < 3" @click="addTask()"> <button class="button is-success" :disabled="newTaskText.length === 0" @click="addTask()">
<span class="icon is-small"> <span class="icon is-small">
<icon icon="plus"/> <icon icon="plus"/>
</span> </span>