fixes and refactor

This commit is contained in:
Liyas Thomas
2021-05-14 05:50:17 +00:00
committed by GitHub
parent 2b8cda40a2
commit 8f09c82763
13 changed files with 107 additions and 87 deletions

View File

@@ -4,10 +4,14 @@
<i class="material-icons">folder</i>
{{ collection.name || $t("none") }}
</h2>
<span class="folder" v-for="(folder, index) in collection.folders" :key="index">
<span
class="folder"
v-for="(folder, index) in collection.folders"
:key="`sub-collection-${index}`"
>
<DocsFolder :folder="folder" />
</span>
<div v-for="(request, index) in collection.requests" :key="index">
<div v-for="(request, index) in collection.requests" :key="`request-${index}`">
<DocsRequest :request="request" />
</div>
</div>