diff --git a/projects/account/src/app/modules/skill/setting-field/setting-field.component.ts b/projects/account/src/app/modules/skill/setting-field/setting-field.component.ts index 47a9d13..6d0eeb8 100644 --- a/projects/account/src/app/modules/skill/setting-field/setting-field.component.ts +++ b/projects/account/src/app/modules/skill/setting-field/setting-field.component.ts @@ -36,7 +36,7 @@ export class SettingFieldComponent implements OnInit { onCheckboxChange(changeEvent: MatCheckboxChange) { this.newValue.emit( - {name: this.fieldDefinition.name, value: changeEvent.checked.toString()} + {name: this.fieldDefinition.name, value: changeEvent.checked} ); } diff --git a/projects/account/src/app/shared/models/setting-change.model.ts b/projects/account/src/app/shared/models/setting-change.model.ts index ea9a802..b18ade1 100644 --- a/projects/account/src/app/shared/models/setting-change.model.ts +++ b/projects/account/src/app/shared/models/setting-change.model.ts @@ -1,4 +1,4 @@ export interface SettingChange { name: string; - value: string; + value: string | boolean | number; } diff --git a/projects/market/src/app/skills/skill-summary/skill-card/skill-card.component.html b/projects/market/src/app/skills/skill-summary/skill-card/skill-card.component.html index 918a695..ec47d43 100644 --- a/projects/market/src/app/skills/skill-summary/skill-card/skill-card.component.html +++ b/projects/market/src/app/skills/skill-summary/skill-card/skill-card.component.html @@ -15,8 +15,9 @@ - - - - + + + + +