Browse Source

Up PropertySelect option

pull/4830/head
Artur Arseniev 3 years ago
parent
commit
073f1705e5
  1. 2
      src/style_manager/model/PropertySelect.js

2
src/style_manager/model/PropertySelect.js

@ -84,7 +84,7 @@ export default class PropertySelect extends Property {
const option = (isString(id) ? this.getOption(id) : id) || {};
const optId = this.getOptionId(option);
const label = option.label || option.name || optId;
const propId = this.getId();
const propId = opts.property || this.getId();
return (locale && this.em?.t(`styleManager.options.${propId}.${optId}`)) || label;
}

Loading…
Cancel
Save