|
|
@@ -105,7 +105,7 @@ define([ 'app/app' ], function(app) {
|
|
|
return AuthenticationService.getAuthentication().success(function(data) {
|
|
|
if(data && data.enterprises) {
|
|
|
//data.enterprise = data.enterprises[data.enterprises.length - 1];
|
|
|
- if(data.enterprises.length > 1) {
|
|
|
+ if(data.enterprises.length > 0) {
|
|
|
var enSelect = [];
|
|
|
angular.forEach(data.enterprises, function(e){
|
|
|
if(e.current)
|