gitlab-org--gitlab-foss/app/assets/javascripts/repo/components/repo_tabs.vue

28 lines
481 B
Vue
Raw Normal View History

2017-07-24 12:15:41 -04:00
<script>
import Store from '../stores/repo_store';
import RepoTab from './repo_tab.vue';
import RepoMixin from '../mixins/repo_mixin';
2017-07-24 12:15:41 -04:00
export default {
mixins: [RepoMixin],
components: {
'repo-tab': RepoTab,
2017-08-01 09:41:24 -04:00
},
data: () => Store,
};
2017-07-24 12:15:41 -04:00
</script>
<template>
<ul
id="tabs"
class="list-unstyled"
>
<repo-tab
v-for="tab in openedFiles"
:key="tab.id"
:tab="tab"
/>
<li class="tabs-divider" />
</ul>
2017-07-24 12:15:41 -04:00
</template>