Merge pull request #1393 from farhan-tariq/fix-for-collections

Fix when folder is having no request property
This commit is contained in:
Liyas Thomas 2020-12-18 17:21:28 +05:30 committed by GitHub
commit 8e63a84152
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,7 @@
/>
</li>
</ul>
<ul v-if="folder.folders.length === 0 && folder.requests.length === 0">
<ul v-if="folder.folders && folder.folders.length === 0 && folder.requests && folder.requests.length === 0">
<li class="flex ml-8 border-l border-brdColor">
<p class="info"><i class="material-icons">not_interested</i> {{ $t("folder_empty") }}</p>
</li>