summaryrefslogtreecommitdiffstats
path: root/public/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/index.js')
-rw-r--r--public/js/index.js24
1 files changed, 22 insertions, 2 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 1bad33e08d..1372afa425 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -1687,13 +1687,33 @@ function initVueComponents(){
type: Number,
required: true
},
+ organizations: {
+ type: Array,
+ default: []
+ },
+ isOrganization: {
+ type: Boolean,
+ default: true
+ },
+ canCreateOrganization: {
+ type: Boolean,
+ default: false
+ },
+ organizationsTotalCount: {
+ type: Number,
+ default: 0
+ },
+ moreReposLink: {
+ type: String,
+ default: ''
+ }
},
data: function() {
return {
tab: 'repos',
repos: [],
- reposTotal: 0,
+ reposTotalCount: 0,
reposFilter: 'all',
searchQuery: '',
isLoading: false
@@ -1741,7 +1761,7 @@ function initVueComponents(){
if (searchedQuery == self.searchQuery) {
self.repos = result.data;
if (searchedQuery == "") {
- self.reposTotal = request.getResponseHeader('X-Total-Count');
+ self.reposTotalCount = request.getResponseHeader('X-Total-Count');
}
}
}).always(function() {