mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ACA-4650] Use NodeCommentsService for ADF_COMMENTS_SERVICE (#8169)
* ACA-4650 Use NodeCommentsService for ADF_COMMENTS_SERVICE * ACA-4650 Register services at component level
This commit is contained in:
@@ -16,11 +16,17 @@
|
||||
*/
|
||||
|
||||
import { Component, Input, ViewEncapsulation } from '@angular/core';
|
||||
import { ADF_COMMENTS_SERVICE } from '@alfresco/adf-core';
|
||||
import { TaskCommentsService } from './services/task-comments.service';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-task-comments',
|
||||
templateUrl: './task-comments.component.html',
|
||||
encapsulation: ViewEncapsulation.None
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
providers: [{
|
||||
provide: ADF_COMMENTS_SERVICE,
|
||||
useClass: TaskCommentsService
|
||||
}]
|
||||
})
|
||||
export class TaskCommentsComponent {
|
||||
@Input()
|
||||
|
Reference in New Issue
Block a user