org existance check
This commit is contained in:
parent
3728f012d7
commit
dc0bf54401
|
@ -40,6 +40,6 @@ angular
|
|||
};
|
||||
|
||||
$scope.isOrgOwner = function (org) {
|
||||
return org.type === 0;
|
||||
return org && org.type === 0;
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue