gitlab-org--gitlab-foss/app/assets/javascripts/groups/components/group_folder.vue

28 lines
447 B
Vue
Raw Normal View History

2017-05-09 19:10:19 -04:00
<script>
export default {
props: {
groups: {
type: Object,
2017-05-09 19:10:19 -04:00
required: true,
},
baseGroup: {
type: Object,
required: false,
2017-06-07 04:45:48 -04:00
default: () => ({}),
},
2017-05-09 19:10:19 -04:00
},
};
</script>
<template>
<ul class="content-list group-list-tree">
2017-06-07 04:45:48 -04:00
<group-item
v-for="(group, index) in groups"
:key="index"
:group="group"
:base-group="baseGroup"
:collection="groups"
/>
2017-05-09 19:10:19 -04:00
</ul>
</template>