widgets: set default address to "auto" and use id automatically
This commit is contained in:
parent
6273f7713f
commit
8cdca7df08
5 changed files with 10 additions and 12 deletions
|
|
@ -143,7 +143,7 @@ class WidgetManager extends EventEmitter {
|
|||
preArgs: widget.getProp('preArgs'),
|
||||
target: widget.getProp('target'),
|
||||
typeTags: widget.getProp('typeTags'),
|
||||
address: widget.getProp('address'),
|
||||
address: widget.getProp('address') === 'auto' ? '/' + widget.getProp('id') : widget.getProp('address'),
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue