[Trunk|Admin]: 1. Create a module for page-help-content-form-component because there was a duplicate declaration

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@55186 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2019-04-04 11:19:03 +00:00
parent f4308606a3
commit 5ff8a5844b
2 changed files with 8 additions and 20 deletions

View File

@ -3,23 +3,17 @@ import {RouterModule} from '@angular/router';
import {CommonModule} from '@angular/common';
import {IsCommunity} from '../../openaireLibrary/connect/communityGuard/isCommunity.guard';
import {ConnectAdminLoginGuard} from '../../openaireLibrary/connect/communityGuard/connectAdminLoginGuard.guard';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {FABModule} from '../../utils/fabModule.module';
import {AlertModalModule} from '../../openaireLibrary/utils/modal/alertModal.module';
import {SafeHtmlPipeModule} from '../../openaireLibrary/utils/pipes/safeHTMLPipe.module';
import {PageContentFormComponent} from './page-help-content-form.component';
import {EditPageHelpContentRoutingModule} from './edit-page-help-content-routing.module';
import {EditPageHelpContentComponent} from './edit-page-help-content.component';
import {CKEditorModule} from 'ng2-ckeditor';
import {PageHelpContentFormModule} from './page-help-content-form.module';
@NgModule({
imports: [
CommonModule, RouterModule, FormsModule,
FABModule, SafeHtmlPipeModule, CKEditorModule,
AlertModalModule, ReactiveFormsModule, EditPageHelpContentRoutingModule
CommonModule, RouterModule,
PageHelpContentFormModule, EditPageHelpContentRoutingModule
],
declarations: [
EditPageHelpContentComponent, PageContentFormComponent
EditPageHelpContentComponent
],
providers: [IsCommunity, ConnectAdminLoginGuard],
exports: [EditPageHelpContentComponent]

View File

@ -3,23 +3,17 @@ import {RouterModule} from '@angular/router';
import {CommonModule} from '@angular/common';
import {IsCommunity} from '../../openaireLibrary/connect/communityGuard/isCommunity.guard';
import {ConnectAdminLoginGuard} from '../../openaireLibrary/connect/communityGuard/connectAdminLoginGuard.guard';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {FABModule} from '../../utils/fabModule.module';
import {AlertModalModule} from '../../openaireLibrary/utils/modal/alertModal.module';
import {SafeHtmlPipeModule} from '../../openaireLibrary/utils/pipes/safeHTMLPipe.module';
import {NewPageHelpContentComponent} from './new-page-help-content.component';
import {NewPageHelpContentRoutingModule} from './new-page-help-content-routing.module';
import {PageContentFormComponent} from './page-help-content-form.component';
import {CKEditorModule} from 'ng2-ckeditor';
import {PageHelpContentFormModule} from './page-help-content-form.module';
@NgModule({
imports: [
CommonModule, RouterModule, FormsModule,
FABModule, SafeHtmlPipeModule, CKEditorModule,
AlertModalModule, ReactiveFormsModule, NewPageHelpContentRoutingModule
CommonModule, RouterModule,
PageHelpContentFormModule, NewPageHelpContentRoutingModule
],
declarations: [
NewPageHelpContentComponent, PageContentFormComponent
NewPageHelpContentComponent
],
providers: [IsCommunity, ConnectAdminLoginGuard],
exports: [NewPageHelpContentComponent]