mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Push widget metadata to callback
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
b49f814faa
commit
338f09b04b
1 changed files with 3 additions and 1 deletions
|
|
@ -222,7 +222,9 @@ export default {
|
|||
continue
|
||||
}
|
||||
if (element) {
|
||||
this.callbacks[app](element[0])
|
||||
this.callbacks[app](element[0], {
|
||||
widget: this.panels[app],
|
||||
})
|
||||
Vue.set(this.panels[app], 'mounted', true)
|
||||
} else {
|
||||
console.error('Failed to register panel in the frontend as no backend data was provided for ' + app)
|
||||
|
|
|
|||
Loading…
Reference in a new issue