mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-31 08:20:37 +01:00
org dashboard route
This commit is contained in:
parent
880be03211
commit
4fdf2a98bf
@ -1,7 +1,8 @@
|
||||
angular
|
||||
.module('bit')
|
||||
|
||||
.config(function ($stateProvider, $urlRouterProvider, $httpProvider, jwtInterceptorProvider, $uibTooltipProvider, toastrConfig) {
|
||||
.config(function ($stateProvider, $urlRouterProvider, $httpProvider, jwtInterceptorProvider, $uibTooltipProvider,
|
||||
toastrConfig) {
|
||||
jwtInterceptorProvider.urlParam = 'access_token2';
|
||||
var refreshPromise;
|
||||
jwtInterceptorProvider.tokenGetter = /*@ngInject*/ function (config, appSettings, tokenService, apiService, jwtHelper, $q) {
|
||||
@ -120,7 +121,7 @@ angular
|
||||
abstract: true
|
||||
})
|
||||
.state('backend.org.dashboard', {
|
||||
url: '^/organization',
|
||||
url: '^/organization/:id',
|
||||
templateUrl: 'app/organization/views/dashboard.html',
|
||||
controller: 'organizationDashboardController',
|
||||
data: { pageTitle: 'Org Dash' }
|
||||
|
@ -71,7 +71,7 @@
|
||||
};
|
||||
|
||||
$scope.viewOrganization = function (id) {
|
||||
$state.go('backend.org.dashboard');
|
||||
$state.go('backend.org.dashboard', { id: id });
|
||||
};
|
||||
|
||||
$scope.twoFactor = function () {
|
||||
|
Loading…
Reference in New Issue
Block a user