mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
deprecate profile resolver (#686)
* resolve profile at startup * remove profile resolver, load profile on app ready * dispose subscriptions
This commit is contained in:
@@ -29,7 +29,6 @@ import { Route } from '@angular/router';
|
||||
import { AppStore, RepositoryState } from '../store/states';
|
||||
import { ruleContext } from '../store/selectors/app.selectors';
|
||||
import { NodePermissionService } from '../services/node-permission.service';
|
||||
import { ProfileResolver } from '../services/profile.resolver';
|
||||
import {
|
||||
SelectionState,
|
||||
NavigationState,
|
||||
@@ -224,7 +223,6 @@ export class AppExtensionService implements RuleContext {
|
||||
component: this.getComponentById(route.layout || this.defaults.layout),
|
||||
canActivateChild: guards,
|
||||
canActivate: guards,
|
||||
resolve: { profile: ProfileResolver },
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
|
Reference in New Issue
Block a user