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

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>