Project

General

Profile

« Previous | Next » 

Revision 57606

[Monitor Dashboard]: Add hasSidebar default true and if false is needed, should added on the route config

View differences:

app-routing.module.ts
22 22
    loadChildren: './login/libUser.module#LibUserModule',
23 23
    resolve: {envSpecific: EnvironmentSpecificResolver}
24 24
  },
25
  {path: 'error', component: OpenaireErrorPageComponent, resolve: {envSpecific: EnvironmentSpecificResolver}},
26 25
  {
26
    path: 'error',
27
    component: OpenaireErrorPageComponent,
28
    resolve: {envSpecific: EnvironmentSpecificResolver},
29
    data: {hasSidebar: false}
30
  },
31
  {
27 32
    path: ':stakeholder',
28 33
    loadChildren: './home/home.module#HomeModule',
29 34
    resolve: {envSpecific: EnvironmentSpecificResolver}
......
37 42
    path: '**',
38 43
    pathMatch: 'full',
39 44
    component: OpenaireErrorPageComponent,
40
    resolve: {envSpecific: EnvironmentSpecificResolver}
45
    resolve: {envSpecific: EnvironmentSpecificResolver},
46
    data: {hasSidebar: false}
41 47
  }
42 48
];
43 49

  

Also available in: Unified diff