mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3586] Add processInstanceId input and fix empty response (#3916)
* [ADF-3586] Add processInstanceId input and fix empty response * [ADF-3586] Fix Task Details Model * [ADF-3586] Fix Dates on ProcessList Component * [ADF-3586] Fix Task Details Model * [ADF-3586] Fix attach form unit tests * [ADF-3586] Fix moment.js import * [ADF-3586] Remove fdescribe * [ADF-3586] Fix Attach Form Component unit test
This commit is contained in:
committed by
Eugenio Romano
parent
f0dff4d011
commit
3d0c7449b4
@@ -17,11 +17,21 @@
|
||||
|
||||
import { ProcessInstance } from './process-instance.model';
|
||||
|
||||
export interface ProcessListModel {
|
||||
export class ProcessListModel {
|
||||
size: number;
|
||||
total: number;
|
||||
start: number;
|
||||
length: number;
|
||||
data: ProcessInstance [];
|
||||
|
||||
constructor(obj?: any) {
|
||||
if (obj) {
|
||||
this.size = obj.size || null;
|
||||
this.total = obj.total || null;
|
||||
this.start = obj.start || null;
|
||||
this.length = obj.length || null;
|
||||
this.data = obj.data || [];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user