fix for unit test cases

This commit is contained in:
Yasa-Nataliya
2023-07-26 17:08:47 +00:00
parent b4e541161d
commit 7e13faf645
5 changed files with 38 additions and 148 deletions

View File

@@ -23,6 +23,7 @@ export interface CardViewItemProperties {
key: any;
default?: any;
editable?: boolean;
editableGeneralInfo?: boolean;
clickable?: any;
icon?: string;
hint?: string;

View File

@@ -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 || '';