fix: don't display 'Collection is empty' label if collection has any requests

This commit is contained in:
vlad0337187
2019-10-23 20:49:47 +03:00
parent 9e9a73efc6
commit ae8dccf292

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>