misc: sessions converted from v0 will use the widget's html property to display the former label property

This commit is contained in:
bordun 2020-11-08 17:15:23 +01:00
parent 8f996a23e0
commit 527e06f3df
2 changed files with 10 additions and 1 deletions

View file

@ -211,6 +211,12 @@ var converters = [
}
var label = data.label === undefined ? 'auto' : data.label
if (label !== false && data.type && !data.type.match(/button|menu|modal|clone|html/)) {
var label = label === 'auto' ? '@{this.id}' : label
data.html = label
}
}
},
{