move data pipe in adf core (#3203)

This commit is contained in:
Mario Romano
2018-04-16 21:51:02 +01:00
committed by Eugenio Romano
parent fc22c2a4c8
commit 2aafecd752
2 changed files with 5 additions and 5 deletions

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { CommonModule } from '@angular/common'; import { CommonModule, DatePipe } from '@angular/common';
import { HttpClient, HttpClientModule } from '@angular/common/http'; import { HttpClient, HttpClientModule } from '@angular/common/http';
import { APP_INITIALIZER, NgModule, ModuleWithProviders } from '@angular/core'; import { APP_INITIALIZER, NgModule, ModuleWithProviders } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { FormsModule, ReactiveFormsModule } from '@angular/forms';
@@ -119,7 +119,8 @@ export function providers() {
DiscoveryApiService, DiscoveryApiService,
CommentProcessService, CommentProcessService,
CommentContentService, CommentContentService,
SearchConfigurationService SearchConfigurationService,
DatePipe
]; ];
} }

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
import { CommonModule, DatePipe } from '@angular/common'; import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { FlexLayoutModule } from '@angular/flex-layout'; import { FlexLayoutModule } from '@angular/flex-layout';
import { TranslateModule } from '@ngx-translate/core'; import { TranslateModule } from '@ngx-translate/core';
@@ -76,8 +76,7 @@ import { TaskStandaloneComponent } from './components/task-standalone.component'
TaskListService, TaskListService,
TaskFilterService, TaskFilterService,
TaskUploadService, TaskUploadService,
ProcessUploadService, ProcessUploadService
DatePipe
], ],
exports: [ exports: [
NoTaskDetailsTemplateDirective, NoTaskDetailsTemplateDirective,