refactor: separate folders for team and personal collections

This commit is contained in:
Liyas Thomas
2021-05-11 05:49:36 +00:00
committed by GitHub
parent 8a30d3ed42
commit 3bbf334f99
8 changed files with 432 additions and 506 deletions

View File

@@ -77,7 +77,7 @@
:key="folder.title"
class="ml-8 border-l border-brdColor"
>
<CollectionsFolder
<CollectionsTeamsFolder
:folder="folder"
:folder-index="index"
:folder-path="`${collectionIndex}/${index}`"
@@ -96,6 +96,7 @@
reqIdx: $event.reqIdx,
})
"
@expand-collection="expandCollection"
/>
</li>
</ul>
@@ -199,6 +200,9 @@ export default {
})
this.confirmRemove = false
},
expandCollection(collectionID) {
this.$emit("expand-collection", collectionID)
},
},
}
</script>