diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-08-14 16:37:37 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-08-19 17:07:27 +0200 |
commit | 338f09b04bf096254253c8319c83e65c35aeb7ac (patch) | |
tree | de00d36446565fbc9822240261373af8ec53b227 /apps/dashboard/src | |
parent | b49f814faa08be51d4008f4b367a797cf95002a7 (diff) | |
download | nextcloud-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.vue | 4 |
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) |