container: don't parse widgets/tabs options for @{} vars
This commit is contained in:
parent
5aa0aa9207
commit
ac0f7dcd65
2 changed files with 3 additions and 3 deletions
|
|
@ -48,9 +48,9 @@ module.exports = class Panel extends _widgets_base {
|
|||
parsetabs = parsers.tabs
|
||||
|
||||
if (this.getProp('tabs').length) {
|
||||
parsetabs(this.getProp('tabs'),this.widget)
|
||||
parsetabs(this.props.tabs, this.widget)
|
||||
} else {
|
||||
parsewidgets(this.getProp('widgets'),this.widget, this)
|
||||
parsewidgets(this.props.widgets, this.widget, this)
|
||||
}
|
||||
|
||||
this.children = this.widget.find('> .widget')
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ module.exports = class Strip extends _widgets_base {
|
|||
this.container.addClass('vertical')
|
||||
}
|
||||
|
||||
parsewidgets(this.getProp('widgets'),this.widget, this)
|
||||
parsewidgets(this.props.widgets, this.widget, this)
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue