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

organization pages and routing

This commit is contained in:
Kyle Spearrin
2017-03-03 21:53:02 -05:00
parent 4fdf2a98bf
commit 4d71a05d2a
13 changed files with 75 additions and 14 deletions

View File

@@ -4,7 +4,6 @@ angular
.controller('mainController', function ($scope, $state, authService, appSettings, toastr) {
var vm = this;
vm.bodyClass = '';
vm.userProfile = null;
vm.searchVaultText = null;
vm.version = appSettings.version;
@@ -27,7 +26,6 @@ angular
$scope.$on('$stateChangeSuccess', function (event, toState, toParams, fromState, fromParams) {
vm.searchVaultText = null;
vm.userProfile = authService.getUserProfile();
if (toState.data.bodyClass) {
vm.bodyClass = toState.data.bodyClass;