File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1705,7 +1705,7 @@ function initVueComponents(){
1705
1705
return this . suburl + '/api/v1/repos/search?uid=' + this . uid + '&q=' + this . searchQuery + '&limit=' + this . searchLimit + '&mode=' + this . repoTypes [ this . reposFilter ] . searchMode + ( this . reposFilter !== 'all' ? '&exclusive=1' : '' ) ;
1706
1706
} ,
1707
1707
repoTypeCount : function ( ) {
1708
- return this . isLoading ? 0 : this . repoTypes [ this . reposFilter ] . count ;
1708
+ return this . repoTypes [ this . reposFilter ] . count ;
1709
1709
}
1710
1710
} ,
1711
1711
@@ -1725,6 +1725,8 @@ function initVueComponents(){
1725
1725
1726
1726
changeReposFilter : function ( filter ) {
1727
1727
this . reposFilter = filter ;
1728
+ this . repos = [ ] ;
1729
+ this . repoTypes [ filter ] . count = 0 ;
1728
1730
this . searchRepos ( filter ) ;
1729
1731
} ,
1730
1732
Original file line number Diff line number Diff line change 69
69
</a>
70
70
</div>
71
71
</div>
72
- <div v-if="!isLoading" class="ui attached table segment">
72
+ <div class="ui attached table segment">
73
73
<ul class="repo-owner-name-list">
74
74
<li v-for="repo in repos" :class="{'private': repo.private}" v-show="showRepo(repo, reposFilter)">
75
75
<a :href="suburl + '/' + repo.full_name">
85
85
</li>
86
86
</ul>
87
87
</div>
88
- <div v-else class="ui attached segment">
89
- <div class="ui active centered inline small loader"></div>
90
- </div>
91
88
</div>
92
89
<div v-if="!isOrganization" v-show="tab === 'organizations'" class="ui tab active list">
93
90
<h4 class="ui top attached header">
You can’t perform that action at this time.
0 commit comments