Replacing an array join with a JS template
This commit is contained in:
parent
1ef8bd7500
commit
2777da518e
@ -35,7 +35,7 @@ export default {
|
||||
setup() {
|
||||
this.label = (this.properties.invert.textValue === '^') ? 'None of:' : 'One of:';
|
||||
this.elements = _.unique(this.properties.parts.elements, part => {
|
||||
return [part.type, part.textValue].join(':');
|
||||
return `${part.type}:${part.textValue}`;
|
||||
});
|
||||
|
||||
if (this.textValue.match(/\\c[^a-zA-Z]/)) {
|
||||
|
Loading…
Reference in New Issue
Block a user