Welcome to mirror list, hosted at ThFree Co, Russian Federation.

repo_tabs.vue « components « repo « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b57cd0960dec24d0ea3177a3b56d15fb39559f40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<script>
  import Store from '../stores/repo_store';
  import RepoTab from './repo_tab.vue';
  import RepoMixin from '../mixins/repo_mixin';

  export default {
    mixins: [RepoMixin],
    components: {
      'repo-tab': RepoTab,
    },
    data() {
      return Store;
    },
  };
</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>
</template>