Merge pull request #208 from vlad0337187/fix/collection-is-empty-label

fix: don't display 'Collection is empty' label if collection has any requests
This commit is contained in:
Liyas Thomas 2019-10-24 00:40:35 +05:30 committed by GitHub
commit 26bc275f0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@
v-on:edit-folder="editFolder"
/>
</li>
<li v-if="collection.folders.length === 0">
<li v-if="(collection.folders.length === 0) && (collection.requests.length === 0)">
<label>Collection is empty</label>
</li>
</ul>