fix(entity-search.js): fix reload namespace

before if you reloaded the say the team owners tab you would get
an error this now watches the namespace and updates it

[TESTING -> tested against prod like data with local docker build]

Issue: https://www.pivotaltracker.com/story/show/145041479

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
This commit is contained in:
Charlton Austin 2017-05-08 15:57:27 -04:00
parent f960fa2482
commit 9729ac3cbb
2 changed files with 13 additions and 5 deletions

View file

@ -14,9 +14,9 @@ function(ApiService, CookieService, $rootScope, Config, $location) {
organizations: [],
logins: [],
beforeload: true
}
};
var userService = {}
var userService = {};
var _EXTERNAL_SERVICES = ['ldap', 'jwtauthn', 'keystone', 'dex'];
userService.hasEverLoggedIn = function() {