mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
optimise routes and guards (#676)
* reduce duplicate settings * simplify guards/resolvers * fetch data after 401 * unit tests * extra unit tests * unit tests for auth guard * trashcan tests
This commit is contained in:
@@ -38,7 +38,11 @@ import { AppToolbarModule } from '../toolbar/toolbar.module';
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: PreviewComponent
|
||||
component: PreviewComponent,
|
||||
data: {
|
||||
title: 'APP.PREVIEW.TITLE',
|
||||
navigateMultiple: true
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user