2017-07-24 12:15:41 -04:00
|
|
|
<script>
|
2017-10-26 06:14:31 -04:00
|
|
|
import { mapState } from 'vuex';
|
2017-10-13 05:08:10 -04:00
|
|
|
import RepoTab from './repo_tab.vue';
|
2017-07-24 12:15:41 -04:00
|
|
|
|
2017-10-13 05:08:10 -04:00
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
'repo-tab': RepoTab,
|
2017-08-01 09:41:24 -04:00
|
|
|
},
|
2017-10-26 06:14:31 -04:00
|
|
|
computed: {
|
|
|
|
...mapState([
|
|
|
|
'openFiles',
|
|
|
|
]),
|
2017-10-17 06:03:12 -04:00
|
|
|
},
|
2017-10-13 05:08:10 -04:00
|
|
|
};
|
2017-07-24 12:15:41 -04:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2017-10-13 05:08:10 -04:00
|
|
|
<ul
|
2017-11-23 12:16:01 -05:00
|
|
|
class="multi-file-tabs list-unstyled append-bottom-0"
|
2017-10-13 05:08:10 -04:00
|
|
|
>
|
|
|
|
<repo-tab
|
2017-10-26 06:14:31 -04:00
|
|
|
v-for="tab in openFiles"
|
2018-01-23 04:37:07 -05:00
|
|
|
:key="tab.key"
|
2017-10-13 05:08:10 -04:00
|
|
|
:tab="tab"
|
|
|
|
/>
|
|
|
|
</ul>
|
2017-07-24 12:15:41 -04:00
|
|
|
</template>
|