refactor: separate folders for team and personal collections
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user