mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3778] TaskFilterCloud - should render only My Task and Completed task (#4000)
* Change the MyTask with assignee and generate an unique id * save the taskfilter by user * Add taskFilters value on the query params * Fix the unit tests * use js api beta version * Rebase against development * Filter the filters by id name or index * Add the ability to translate and filter by key * make properties optionals * Remove import duplication
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<h2>TASK LIST CLOUD DEMO</h2>
|
||||
<adf-cloud-task-filters
|
||||
[appName]="'my-app'"
|
||||
[appName]="applicationName"
|
||||
[showIcons]="true"
|
||||
(filterClick)="onFilterSelected($event)">
|
||||
</adf-cloud-task-filters>
|
||||
|
@@ -107,8 +107,10 @@ export class TaskListCloudDemoComponent implements OnInit {
|
||||
|
||||
onFilterSelected(filter) {
|
||||
const queryParams = {
|
||||
status: filter.query.state,
|
||||
id: filter.id,
|
||||
filterName: filter.name,
|
||||
status: filter.query.state,
|
||||
assignee: filter.query.assignment,
|
||||
sort: filter.query.sort,
|
||||
order: filter.query.order
|
||||
};
|
||||
|
Reference in New Issue
Block a user