1
0
mirror of https://github.com/bitwarden/web synced 2025-12-11 05:43:16 +00:00

org owner check on side nav menu

This commit is contained in:
Kyle Spearrin
2017-04-12 13:06:18 -04:00
parent 5f2c2a8064
commit f8c5f31f97
2 changed files with 6 additions and 2 deletions

View File

@@ -38,4 +38,8 @@ angular
$state.go('backend.org.dashboard', { orgId: org.id });
};
$scope.isOrgOwner = function (org) {
return org.type === 0;
};
});