[ADF-2614] Edit icon misses in Info-drawer Assignee (#3145)

* [DW-488] Edit icon misses in Info-drawer Assignee

* * Added unit testcases for the recent changes .

* * Updated card-view doc for the recent changes made.

* * Fixed failing taskHeader testcases
This commit is contained in:
siva kumar
2018-04-06 17:19:38 +05:30
committed by Denys Vuika
parent 38f2973863
commit 313d7f30cf
10 changed files with 85 additions and 5 deletions

View File

@@ -24,6 +24,7 @@ export abstract class CardViewBaseItemModel {
default: any;
editable: boolean;
clickable: boolean;
icon?: string;
validators?: CardViewItemValidator[];
constructor(obj: CardViewItemProperties) {
@@ -33,6 +34,7 @@ export abstract class CardViewBaseItemModel {
this.default = obj.default;
this.editable = !!obj.editable;
this.clickable = !!obj.clickable;
this.icon = obj.icon || '';
this.validators = obj.validators || [];
}