1
0
mirror of https://github.com/bitwarden/web synced 2025-12-10 21:33:16 +00:00

UI/UX tweaks

This commit is contained in:
Kyle Spearrin
2017-04-28 15:28:00 -04:00
parent f11d4a92df
commit cc62237ab5
8 changed files with 49 additions and 14 deletions

View File

@@ -40,6 +40,14 @@ angular
$state.go('backend.org.dashboard', { orgId: org.id });
};
$scope.searchVault = function () {
$state.go('backend.user.vault');
};
$scope.searchOrganizationVault = function () {
$state.go('backend.org.vault', { orgId: $state.params.orgId });
};
$scope.isOrgOwner = function (org) {
return org && org.type === 0;
};