[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:
parent
f4308606a3
commit
5ff8a5844b
|
@ -3,23 +3,17 @@ import {RouterModule} from '@angular/router';
|
||||||
import {CommonModule} from '@angular/common';
|
import {CommonModule} from '@angular/common';
|
||||||
import {IsCommunity} from '../../openaireLibrary/connect/communityGuard/isCommunity.guard';
|
import {IsCommunity} from '../../openaireLibrary/connect/communityGuard/isCommunity.guard';
|
||||||
import {ConnectAdminLoginGuard} from '../../openaireLibrary/connect/communityGuard/connectAdminLoginGuard.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 {EditPageHelpContentRoutingModule} from './edit-page-help-content-routing.module';
|
||||||
import {EditPageHelpContentComponent} from './edit-page-help-content.component';
|
import {EditPageHelpContentComponent} from './edit-page-help-content.component';
|
||||||
import {CKEditorModule} from 'ng2-ckeditor';
|
import {PageHelpContentFormModule} from './page-help-content-form.module';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule, RouterModule, FormsModule,
|
CommonModule, RouterModule,
|
||||||
FABModule, SafeHtmlPipeModule, CKEditorModule,
|
PageHelpContentFormModule, EditPageHelpContentRoutingModule
|
||||||
AlertModalModule, ReactiveFormsModule, EditPageHelpContentRoutingModule
|
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
EditPageHelpContentComponent, PageContentFormComponent
|
EditPageHelpContentComponent
|
||||||
],
|
],
|
||||||
providers: [IsCommunity, ConnectAdminLoginGuard],
|
providers: [IsCommunity, ConnectAdminLoginGuard],
|
||||||
exports: [EditPageHelpContentComponent]
|
exports: [EditPageHelpContentComponent]
|
||||||
|
|
|
@ -3,23 +3,17 @@ import {RouterModule} from '@angular/router';
|
||||||
import {CommonModule} from '@angular/common';
|
import {CommonModule} from '@angular/common';
|
||||||
import {IsCommunity} from '../../openaireLibrary/connect/communityGuard/isCommunity.guard';
|
import {IsCommunity} from '../../openaireLibrary/connect/communityGuard/isCommunity.guard';
|
||||||
import {ConnectAdminLoginGuard} from '../../openaireLibrary/connect/communityGuard/connectAdminLoginGuard.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 {NewPageHelpContentComponent} from './new-page-help-content.component';
|
||||||
import {NewPageHelpContentRoutingModule} from './new-page-help-content-routing.module';
|
import {NewPageHelpContentRoutingModule} from './new-page-help-content-routing.module';
|
||||||
import {PageContentFormComponent} from './page-help-content-form.component';
|
import {PageHelpContentFormModule} from './page-help-content-form.module';
|
||||||
import {CKEditorModule} from 'ng2-ckeditor';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule, RouterModule, FormsModule,
|
CommonModule, RouterModule,
|
||||||
FABModule, SafeHtmlPipeModule, CKEditorModule,
|
PageHelpContentFormModule, NewPageHelpContentRoutingModule
|
||||||
AlertModalModule, ReactiveFormsModule, NewPageHelpContentRoutingModule
|
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
NewPageHelpContentComponent, PageContentFormComponent
|
NewPageHelpContentComponent
|
||||||
],
|
],
|
||||||
providers: [IsCommunity, ConnectAdminLoginGuard],
|
providers: [IsCommunity, ConnectAdminLoginGuard],
|
||||||
exports: [NewPageHelpContentComponent]
|
exports: [NewPageHelpContentComponent]
|
||||||
|
|
Loading…
Reference in New Issue