summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2017-08-10 14:32:35 -0500
committerEric Eastwood <contact@ericeastwood.com>2017-08-14 11:09:22 -0500
commit15f37411839ffede77f94887fba257168d3d60cb (patch)
treede78dba3602f75a88d9e7294d00f2955c0f4e71f /app
parenta081a60d89af1f05a8f6f243e073a96e35b2b349 (diff)
downloadgitlab-ce-15f37411839ffede77f94887fba257168d3d60cb.tar.gz
Remove loading state from repo_tab
Fix https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12198#note_37143710
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/repo/components/repo_tab.vue11
1 files changed, 7 insertions, 4 deletions
diff --git a/app/assets/javascripts/repo/components/repo_tab.vue b/app/assets/javascripts/repo/components/repo_tab.vue
index b6a9948f487..fc66a8ea953 100644
--- a/app/assets/javascripts/repo/components/repo_tab.vue
+++ b/app/assets/javascripts/repo/components/repo_tab.vue
@@ -41,7 +41,6 @@ export default RepoTab;
<template>
<li>
<a
- v-if="!tab.loading"
href="#0"
class="close"
@click.prevent="xClicked(tab)"
@@ -53,8 +52,12 @@ export default RepoTab;
</i>
</a>
- <a href="#" class="repo-tab" v-if="!tab.loading" :title="tab.url" @click.prevent="tabClicked(tab)">{{tab.name}}</a>
-
- <i v-if="tab.loading" class="fa fa-spinner fa-spin"></i>
+ <a
+ href="#"
+ class="repo-tab"
+ :title="tab.url"
+ @click.prevent="tabClicked(tab)">
+ {{tab.name}}
+ </a>
</li>
</template>