mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
fix for unit test cases
This commit is contained in:
@@ -23,6 +23,7 @@ export interface CardViewItemProperties {
|
||||
key: any;
|
||||
default?: any;
|
||||
editable?: boolean;
|
||||
editableGeneralInfo?: boolean;
|
||||
clickable?: any;
|
||||
icon?: string;
|
||||
hint?: string;
|
||||
|
@@ -24,6 +24,7 @@ export abstract class CardViewBaseItemModel {
|
||||
key: any;
|
||||
default: any;
|
||||
editable: boolean;
|
||||
editableGeneralInfo: boolean;
|
||||
clickable: boolean;
|
||||
icon?: string;
|
||||
hint?: string;
|
||||
@@ -38,6 +39,7 @@ export abstract class CardViewBaseItemModel {
|
||||
this.key = cardViewItemProperties.key;
|
||||
this.default = cardViewItemProperties.default;
|
||||
this.editable = !!cardViewItemProperties.editable;
|
||||
this.editableGeneralInfo = !!cardViewItemProperties.editableGeneralInfo;
|
||||
this.clickable = !!cardViewItemProperties.clickable;
|
||||
this.icon = cardViewItemProperties.icon || '';
|
||||
this.hint = cardViewItemProperties.hint || '';
|
||||
|
Reference in New Issue
Block a user