mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-1004] The process service definition file in the alfresco-js-api is incomplete (#2488)
* correction after new declaration file for PS * remove unused jasmine * commit ifx initial pipe * fix tasklist test * fix tasklist test * reinsert test
This commit is contained in:
committed by
Denys Vuika
parent
0cc578ba0e
commit
036c63e43d
@@ -17,8 +17,7 @@
|
||||
|
||||
import { DatePipe } from '@angular/common';
|
||||
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
||||
import { LightUserRepresentation, PeopleProcessService } from 'ng2-alfresco-core';
|
||||
import { Comment } from '../models/comment.model';
|
||||
import { CommentProcessModel, PeopleProcessService, UserProcessModel } from 'ng2-alfresco-core';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-comment-list',
|
||||
@@ -29,12 +28,12 @@ import { Comment } from '../models/comment.model';
|
||||
export class CommentListComponent {
|
||||
|
||||
@Input()
|
||||
comments: Comment[];
|
||||
comments: CommentProcessModel[];
|
||||
|
||||
@Output()
|
||||
clickRow: EventEmitter<Comment> = new EventEmitter<Comment>();
|
||||
clickRow: EventEmitter<CommentProcessModel> = new EventEmitter<CommentProcessModel>();
|
||||
|
||||
selectedComment: Comment;
|
||||
selectedComment: CommentProcessModel;
|
||||
|
||||
constructor(private datePipe: DatePipe, public peopleProcessService: PeopleProcessService) {
|
||||
}
|
||||
@@ -44,7 +43,7 @@ export class CommentListComponent {
|
||||
this.clickRow.emit(this.selectedComment);
|
||||
}
|
||||
|
||||
getUserShortName(user: LightUserRepresentation): string {
|
||||
getUserShortName(user: UserProcessModel): string {
|
||||
let shortName = '';
|
||||
if (user) {
|
||||
if (user.firstName) {
|
||||
|
Reference in New Issue
Block a user