Transformation edit: Remove i18n string from Item state transform hint (#1883)
Follow-up for #1845. The i18n identifier should not be part of the hint "How to use this transformation for Item states". -- Signed-off-by: Florian Hotze <florianh_dev@icloud.com>pull/1892/head
parent
89d0403d80
commit
60221ab0b8
|
@ -119,7 +119,7 @@ export default {
|
|||
return false
|
||||
},
|
||||
itemStateTransformationCode () {
|
||||
return `${this.transformation.type.toUpperCase()}(${this.transformationId})`
|
||||
return `${this.transformation.type.toUpperCase()}(${this.transformationId.replace(/:([A-Z][a-z]{1,2}-)?([a-z]{2,3})(-[A-Z]{2,3})?$/, '')})`
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
Loading…
Reference in New Issue