org existance check

This commit is contained in:
Kyle Spearrin 2017-04-18 10:24:47 -04:00
parent 3728f012d7
commit dc0bf54401
1 changed files with 1 additions and 1 deletions

View File

@ -40,6 +40,6 @@ angular
};
$scope.isOrgOwner = function (org) {
return org.type === 0;
return org && org.type === 0;
};
});