Revision 60171
Added by Argiro Kokogiannaki over 3 years ago
edit-page-help-content-routing.module.ts | ||
---|---|---|
1 |
import { NgModule } from '@angular/core';
|
|
1 |
import {NgModule} from '@angular/core';
|
|
2 | 2 |
import {RouterModule} from '@angular/router'; |
3 |
import {EditPageHelpContentComponent} from "../openaireLibrary/dashboard/helpTexts/edit-page-help-content.component"; |
|
4 |
import {AdminDashboardGuard} from "../utils/adminDashboard.guard"; |
|
3 |
import {EditPageHelpContentComponent} from "../../openaireLibrary/dashboard/helpTexts/edit-page-help-content.component"; |
|
5 | 4 |
|
6 | 5 |
|
7 | 6 |
@NgModule({ |
8 | 7 |
imports: [ |
9 | 8 |
RouterModule.forChild([ |
10 |
{ path: '', canActivate: [AdminDashboardGuard], component: EditPageHelpContentComponent}
|
|
9 |
{ path: '', component: EditPageHelpContentComponent} |
|
11 | 10 |
]) |
12 | 11 |
] |
13 | 12 |
}) |
Also available in: Unified diff
[Monitor dashboard | Trunk]
Admin tools:
- move amdin tool components underadmin-tool folder
- create admin tool routing module
- remove guard from each module and put it in admin tool routing module
Piwik:
- add piwik from configuration service and pass it in search, landing, monitor
App component:
- when stakeholder changes: update or reset properties adminToolsCommunity, adminToolsPortalType and init community information