Don't show the "new bucket" button when buckets are still loading

This commit is contained in:
kolaente 2021-01-16 20:28:10 +01:00
parent c31015bd70
commit 212cd86987
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -210,7 +210,7 @@
</div> </div>
</div> </div>
<div class="bucket new-bucket" v-if="canWrite"> <div class="bucket new-bucket" v-if="canWrite && !loading && buckets.length > 0">
<input <input
:class="{'is-loading': loading}" :class="{'is-loading': loading}"
:disabled="loading" :disabled="loading"