Revision 58255
Added by Michele Artini about 4 years ago
organizations.js | ||
---|---|---|
63 | 63 |
|
64 | 64 |
scope.reset = function() { |
65 | 65 |
scope.selectedOrgs = []; |
66 |
angular.forEach(scope.orgs, function(org) { org.show = 'default'; });
|
|
66 |
angular.forEach(scope.orgs, function(org) { org.show = 'secondary'; });
|
|
67 | 67 |
} |
68 | 68 |
|
69 | 69 |
scope.createGroup = function() { |
... | ... | |
262 | 262 |
|
263 | 263 |
$q.all(gets).then(function(responses) { |
264 | 264 |
scope.orgs = responses.map((resp) => resp.data); |
265 |
angular.forEach(scope.orgs, function(org) { org.show = 'default'; });
|
|
265 |
angular.forEach(scope.orgs, function(org) { org.show = 'secondary'; });
|
|
266 | 266 |
}); |
267 | 267 |
} |
268 | 268 |
|
Also available in: Unified diff
partial implementation of merge orgs modal