[ADF-5043] Default adf-cloud-task-list and adf-cloud-process-list doesn't work (#5347)

This commit is contained in:
dhrn
2019-12-23 21:47:03 +05:30
committed by Eugenio Romano
parent d8c35c9af0
commit aa12be15d4
2 changed files with 9 additions and 8 deletions

View File

@@ -18,17 +18,18 @@
export let processCloudPresetsDefaultModel = { export let processCloudPresetsDefaultModel = {
'default': [ 'default': [
{ {
'key': 'name', 'key': 'entry.name',
'type': 'text', 'type': 'text',
'title': 'ADF_CLOUD_PROCESS_LIST.PROPERTIES.NAME', 'title': 'ADF_CLOUD_PROCESS_LIST.PROPERTIES.NAME',
'sortable': true 'sortable': true
}, },
{ {
'key': 'created', 'key': 'entry.startDate',
'type': 'text', 'type': 'date',
'title': 'ADF_CLOUD_PROCESS_LIST.PROPERTIES.CREATED', 'title': 'ADF_CLOUD_PROCESS_LIST.PROPERTIES.START_DATE',
'cssClass': 'hidden', 'cssClass': 'hidden',
'sortable': true 'sortable': true,
'format': 'timeAgo'
} }
] ]
}; };

View File

@@ -18,20 +18,20 @@
export let taskPresetsCloudDefaultModel = { export let taskPresetsCloudDefaultModel = {
'default': [ 'default': [
{ {
'key': 'name', 'key': 'entry.name',
'type': 'text', 'type': 'text',
'title': 'ADF_CLOUD_TASK_LIST.PROPERTIES.NAME', 'title': 'ADF_CLOUD_TASK_LIST.PROPERTIES.NAME',
'sortable': true 'sortable': true
}, },
{ {
'key': 'created', 'key': 'entry.created',
'type': 'text', 'type': 'text',
'title': 'ADF_CLOUD_TASK_LIST.PROPERTIES.CREATED', 'title': 'ADF_CLOUD_TASK_LIST.PROPERTIES.CREATED',
'cssClass': 'hidden', 'cssClass': 'hidden',
'sortable': true 'sortable': true
}, },
{ {
'key': 'assignee', 'key': 'entry.assignee',
'type': 'text', 'type': 'text',
'title': 'ADF_CLOUD_TASK_LIST.PROPERTIES.ASSIGNEE', 'title': 'ADF_CLOUD_TASK_LIST.PROPERTIES.ASSIGNEE',
'cssClass': 'hidden', 'cssClass': 'hidden',