advanced syntax: nested property inheritance (eg. @{id_@{id_x}}) not updating properly

This commit is contained in:
bordun 2021-08-26 12:42:50 +02:00
parent 59ddfac7a9
commit fc39312588
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,10 @@
# Changelog
## 1.9.13
- bug fixes
- nested property inheritance (eg. `@{id_@{id_x}}`) not updating properly
## 1.9.12
- bug fixes

View file

@ -517,7 +517,7 @@ class Widget extends EventEmitter {
if (content.indexOf('@{') >= 0) {
content = balancedReplace('@', '{', '}', content, (subcontent)=>{
return this.resolveProp(content, '@{' + subcontent + '}', storeLinks ? 'nested' : false, this)
return this.resolveProp(propName, '@{' + subcontent + '}', storeLinks ? 'nested' : false, this)
})
}