panel: don't set init value if no tabs
This commit is contained in:
parent
48db726f98
commit
9ca910d1a1
1 changed files with 2 additions and 1 deletions
|
|
@ -85,6 +85,8 @@ module.exports = class Panel extends _widgets_base {
|
|||
this.createNavigation()
|
||||
})
|
||||
|
||||
this.setValue(this.getProp('value') || 0)
|
||||
|
||||
} else if (this.getProp('widgets') && this.getProp('widgets').length) {
|
||||
|
||||
parsewidgets(this.getProp('widgets'), this.widget, this)
|
||||
|
|
@ -93,7 +95,6 @@ module.exports = class Panel extends _widgets_base {
|
|||
|
||||
}
|
||||
|
||||
this.setValue(this.getProp('value') || 0)
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue