Commit 48e59782f19b3b25b06fc1c4c4294e1eb5b237c8

Authored by Vladyslav_Prykhodko
Committed by Andrew Shvayka
1 parent 40a37eef

Added trim to dataKeyName

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