summaryrefslogtreecommitdiffstats
path: root/apps/dashboard/src
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-08-14 16:37:37 +0200
committerJulius Härtl <jus@bitgrid.net>2020-08-19 17:07:27 +0200
commit338f09b04bf096254253c8319c83e65c35aeb7ac (patch)
treede00d36446565fbc9822240261373af8ec53b227 /apps/dashboard/src
parentb49f814faa08be51d4008f4b367a797cf95002a7 (diff)
downloadnextcloud-server-338f09b04bf096254253c8319c83e65c35aeb7ac.tar.gz
nextcloud-server-338f09b04bf096254253c8319c83e65c35aeb7ac.zip
Push widget metadata to callback
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/dashboard/src')
-rw-r--r--apps/dashboard/src/App.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/dashboard/src/App.vue b/apps/dashboard/src/App.vue
index db2f20382b1..33f820ecd7a 100644
--- a/apps/dashboard/src/App.vue
+++ b/apps/dashboard/src/App.vue
@@ -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)