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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user