|
|
@ -75,7 +75,7 @@ export class AddAttributeDialogComponent extends DialogComponent<AddAttributeDia |
|
|
this.submitted = true; |
|
|
this.submitted = true; |
|
|
const attribute: AttributeData = { |
|
|
const attribute: AttributeData = { |
|
|
lastUpdateTs: null, |
|
|
lastUpdateTs: null, |
|
|
key: this.attributeFormGroup.get('key').value, |
|
|
key: this.attributeFormGroup.get('key').value.trim(), |
|
|
value: this.attributeFormGroup.get('value').value |
|
|
value: this.attributeFormGroup.get('value').value |
|
|
}; |
|
|
}; |
|
|
this.attributeService.saveEntityAttributes(this.data.entityId, |
|
|
this.attributeService.saveEntityAttributes(this.data.entityId, |
|
|
|