Browse Source

Added trim to dataKeyName

pull/3178/head
Vladyslav_Prykhodko 6 years ago
committed by Andrew Shvayka
parent
commit
48e59782f1
  1. 2
      ui-ngx/src/app/modules/home/components/attribute/add-attribute-dialog.component.ts

2
ui-ngx/src/app/modules/home/components/attribute/add-attribute-dialog.component.ts

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

Loading…
Cancel
Save