Add a fetch tag dialog
This commit is contained in:
parent
c1d58bdd6c
commit
70aec00914
13 changed files with 258 additions and 2 deletions
|
@ -83,6 +83,10 @@ function(ApiService, CookieService, $rootScope, Config) {
|
|||
});
|
||||
};
|
||||
|
||||
userService.isOrganization = function(name) {
|
||||
return !!userService.getOrganization(name);
|
||||
};
|
||||
|
||||
userService.getOrganization = function(name) {
|
||||
if (!userResponse || !userResponse.organizations) { return null; }
|
||||
for (var i = 0; i < userResponse.organizations.length; ++i) {
|
||||
|
|
Reference in a new issue